35 :
Occurs(minOccurs, maxOccurs),
78 m_elementVec.push_back(e);
83 return new All(*
this);
A base class for XSD classes that have occurs attributes.
All & operator=(const All &rhs)
Assignment operator.
boost::ptr_vector< Element > m_elementVec
Lis of elements. (Optional)
A base class for elements that are not definitions nor declarations. This class is just for creating ...
This class models the element of a XML Schema.
Annotated & operator=(const Annotated &rhs)
Assignment operator.
void addElement(Element *e)
It adds an element to this All element.
A base class for XSD classes that must provide a unique ID property.
const boost::ptr_vector< Element > & getElements() const
It returns the list of elements of All.
A class that models a XSD annotation element.
Occurs & operator=(const Occurs &rhs)
Assignment operator.
Identifiable & operator=(const Identifiable &rhs)
Assignment operator.
A base class for XSD classes that may allow annotation.
All(unsigned int minOccurs=1, unsigned int maxOccurs=1, Annotation *ann=0, std::string *id=0)
Constructor.
This class models an XML Schema all element.