#include <attribute.h>
Public Methods | |
template<class P, class V> | _attribute (const std::string &tagname, V P::*member) |
template<class P, class V, class VL> | _attribute (const std::string &tagname, V P::*member, const VL &vl) |
void | set_default (const std::string &defval) |
void | required (bool val) |
Helper class to define attributes in aka2::sequence<>, aka2::all<> and aka2::simplecontent<>.
Definition at line 41 of file attribute.h.
|
Constructor for attribute definition.
Definition at line 48 of file attribute.h. |
|
Constructor for attribute definition.
Definition at line 59 of file attribute.h. |
|
Set required. Specifies required flag.
Definition at line 84 of file attribute.h. |
|
Set default attribute value. Specifies default value
Definition at line 69 of file attribute.h. |