#include <choice.h>
Inheritance diagram for aka2::choice< T, L >:
Public Methods | |
template<class IL> void | item (const std::string &tagname, const IL &il, int minOccurs=1, int maxOccurs=1, bool emptiable=false) |
void | any (const std::string &tagname, const std::string &ns_list="##any") |
void | any (const std::string &tagname, int minOccurs, int maxOccurs, const std::string &ns_list="##any") |
void | any (const std::string &tagname, int minOccurs, int maxOccurs, bool emptiable, const std::string &ns_list) |
template<class IL> void | fixed_item (const std::string &tagname, const std::string &fixed_value, const IL &il) |
template<class IL> void | fixed_array (const std::string &tagname, const std::string &fixed_value, const IL &il, int minOccurs, int maxOccurs, bool emptiable=false) |
Static Public Methods | |
void | occurrence (int minOccurs, int maxOccurs, bool emptiable=false) |
Leaf classes for aka:choice are derived from this template class.
Users don't have to use this class directly.
Please use aka2::sequential_choice<> template for sequence containers, or aka2::associative_choice<> template for choice containers.
T | value class type |
L | leaf class type |
Definition at line 102 of file choice.h.
|
define array of wildcard (aka2::any_array, xs:anyType[] in XML Schema) child elements.
|
|
define array of wildcard (aka2::any_array, xs:anyType[] in XML Schema) child elements.
Definition at line 220 of file choice.h. References aka2::choice< T, L >::any(). |
|
define wildcard (aka2::any, xs:anyType in XML Schema) child element.
Definition at line 197 of file choice.h. Referenced by aka2::choice< T, L >::any(). |
|
define array of elements having fixed value.
|
|
define element having fixed value.
|
|
define item as an child element.
|
|
define occurrence of aka:choice itself.
|