28 m_internalSimpleType(0)
42 delete m_internalSimpleType;
55 delete m_internalSimpleType;
70 return m_internalSimpleType;
75 delete m_internalSimpleType;
76 m_internalSimpleType = 0;
87 delete m_internalSimpleType;
88 m_internalSimpleType = a;
93 return new List(*
this);
List & operator=(const List &rhs)
Assignment operator.
It models a XML Schema SimpleType element.
A class to deal with XML qualified names.
SimpleTypeConstructor * clone() const
It creates a clone of the object.
SimpleType * getSimpleType() const
It returns list internal simple type.
It is used to define a simple type element as a list of values.
A base class for SympleType elements. List, Union and Restriction4SimpleType is derived from this bas...
List(Annotation *ann=0, std::string *id=0)
Constructor.
SimpleTypeConstructor & operator=(const SimpleTypeConstructor &rhs)
Assignment operator not allowed.
SimpleType * m_internalSimpleType
Used when the list has an internal simple type. (Optional if m_itemType is present) ...
It is used to define a simple type element as a list of values.
void setItemType(QName *name)
It sets the name of a built-in data type or simpleType element defined in this or another schema...
void setSimpleType(SimpleType *a)
It sets the list internal simple type.
QName * getItemType() const
It returns name of a built-in data type or simpleType element defined in this or another schema...
A class to be used to represent XML qualified names.
QName * m_itemType
It specifies the name of a built-in data type or simpleType element defined in this or another schema...
A class that models a XSD annotation element.
It models a XML Schema SimpleType element.