Container for style classes. Essentially a set of strings, with space-separated output support.
More...
#include <ClassXML.h>
|
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) |
|
Container for style classes. Essentially a set of strings, with space-separated output support.
◆ 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:
- src/drain/util/ClassXML.h
- bak/TreeXML.cpp
- src/drain/util/XML.cpp