32 :
Occurs(minOccurs, maxOccurs),
49 for(std::size_t i = 0; i < rhs.
m_anyVec.size(); ++i)
61 Content::operator=(rhs);
75 for(std::size_t i = 0; i < rhs.
m_anyVec.size(); ++i)
99 m_elementVec.push_back(e);
104 m_contentVec.push_back(c);
109 m_anyVec.push_back(a);
A base class for XSD classes that may allow annotation.
A base class for XSD classes that have occurs attributes.
Annotated & operator=(const Annotated &rhs)
Assignment operator.
This class models the element of a XML Schema.
A base class for elements that are not definitions nor declarations. This class is just for creating ...
void addContent(Content *c)
It adds a Content element to this Choice element.
boost::ptr_vector< Element > m_elementVec
The list of elements.
It models the XML Schema any element.
A base class for XSD classes that must provide a unique ID property.
This class models the XML Schema choice element.
void addAny(Any *a)
It adds an any to this Choice element.
const boost::ptr_vector< Content > & getContents() const
It returns the list of Content elements of Choice.
Choice(unsigned int minOccurs=1, unsigned int maxOccurs=1, Annotation *ann=0, std::string *id=0)
Constructor.
Identifiable & operator=(const Identifiable &rhs)
Assignment operator.
boost::ptr_vector< Content > m_contentVec
The list of Contents elements (group | choice | sequence).
This class models the XML Schema choice element.
void addElement(Element *e)
It adds an element to this Choice element.
const boost::ptr_vector< Element > & getElements() const
It returns the list of elements of Choice.
Choice & operator=(const Choice &rhs)
Assignment operator.
A class that models a XSD annotation element.
const boost::ptr_vector< Any > & getAnys() const
It returns the list of any elements of Choice.
It models the XML Schema any element.
boost::ptr_vector< Any > m_anyVec
The list of any elements.
Occurs & operator=(const Occurs &rhs)
Assignment operator.