Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
ClassListXML Class Reference

Container for style classes. Essentially a set of strings, with space-separated output support. More...

#include <ClassXML.h>

Inheritance diagram for ClassListXML:
Inheritance graph
[legend]
Collaboration diagram for ClassListXML:
Collaboration graph
[legend]

Public Member Functions

template<typename ... TT>
 ClassListXML (const TT &... args)
 
template<typename ... TT>
void add (const std::string &arg, const TT &... args)
 Add one or several classes.
 
template<typename ... TT>
void add (const char *arg, const TT &... args)
 
template<typename E , typename ... TT>
void add (const E &arg, const TT &... args)
 Add one or several classes. More...
 
bool has (const std::string &arg) const
 
bool has (const char *arg) const
 
template<typename E >
bool has (const E &arg) const
 
void remove (const std::string &arg)
 

Static Public Attributes

static const SprinterLayout layout = {" ", "", "", ""}
 Uses spaces as separators.
 

Protected Member Functions

void add ()
 

Detailed Description

Container for style classes. Essentially a set of strings, with space-separated output support.

Member Function Documentation

◆ add()

void add ( const E &  arg,
const TT &...  args 
)
inline

Add one or several classes.

Template Parameters
E- enum type expected (but unchecked)

Issues compile time error if type not applicable, or dictionary undefined. Enum types should be used, although template allows any types, but strict


The documentation for this class was generated from the following files: