27 #include "../common/STLUtils.h" 
   72   return m_memberTypeVec;
 
   77   return m_internalSimpleTypeVec;
 
   82   m_memberTypeVec.push_back(name);
 
   87   m_internalSimpleTypeVec.push_back(a);
 
   92   return new Union(*
this);
 
void addSimpleType(SimpleType *a)
It adds an internal simple type element to this Union element. 
 
void addMemberType(QName *name)
It adds a member type to this Union element. 
 
SimpleTypeConstructor * clone() const 
It creates a clone of the object. 
 
Union(Annotation *ann=0, std::string *id=0)
Constructor. 
 
boost::ptr_vector< SimpleType > m_internalSimpleTypeVec
Used when the union has internal simple types. 
 
It models a XML Schema SimpleType element. 
 
A class to deal with XML qualified names. 
 
A base class for SympleType elements. List, Union and Restriction4SimpleType is derived from this bas...
 
boost::ptr_vector< QName > m_memberTypeVec
It specifies a list of built-in data types or simpleType elements defined in a schema. (Optional) 
 
SimpleTypeConstructor & operator=(const SimpleTypeConstructor &rhs)
Assignment operator not allowed. 
 
const boost::ptr_vector< QName > & getMemberTypes() const 
It returns the list of member types. 
 
A class to be used to represent XML qualified names. 
 
It defines a simple type as a collection (union) of values from specified simple data types...
 
A class that models a XSD annotation element. 
 
It models a XML Schema SimpleType element. 
 
Union & operator=(const Union &rhs)
Assignment operator. 
 
It defines a simple type as a collection (union) of values from specified simple data types...
 
const boost::ptr_vector< SimpleType > & getSimpleTypes() const 
It returns the list of simple types defined on this union element.