A base class for XSD classes that may allow annotation.
SimpleTypeConstructor * getConstructor() const
It returns the constructor of the element.
Annotated & operator=(const Annotated &rhs)
Assignment operator.
std::string * m_name
It specifies a name for the element. Required if the simpleType element is a child of the schema elem...
SimpleType & operator=(const SimpleType &rhs)
Assignment operator.
It models a XML Schema SimpleType element.
void setConstructor(SimpleTypeConstructor *c)
It sets the constructor of the element.
SimpleType(Annotation *ann=0, std::string *id=0)
Constructor.
A base class for SympleType elements. List, Union and Restriction4SimpleType is derived from this bas...
A base class for XSD classes that must provide a unique ID property.
A base class for SimpleType elements. List, Union and Restriction4SimpleType is derived from this bas...
Identifiable & operator=(const Identifiable &rhs)
Assignment operator.
void setName(std::string *name)
It sets the name of the element.
virtual SimpleTypeConstructor * clone() const =0
It creates a clone of the object.
SimpleTypeConstructor * m_constructor
restriction | list | union.
A class that models a XSD annotation element.
It models a XML Schema SimpleType element.
An abstract class for modeling the definition of a new XML Schema Type.
std::string * getName() const
It returns the name of the element.