62 return m_annotationVec;
67 return m_simpleTypeVec;
72 return m_complexTypeVec;
82 return m_attributeGroupVec;
87 return m_attributeVec;
102 m_xmlns.insert(boost::bimap<std::string, std::string>::value_type(nsprefix, ns));
107 m_includeVec.push_back(i);
112 m_importVec.push_back(i);
117 m_redefineVec.push_back(r);
122 m_annotationVec.push_back(a);
127 m_simpleTypeVec.push_back(s);
132 m_complexTypeVec.push_back(c);
137 m_groupVec.push_back(g);
142 m_attributeGroupVec.push_back(ag);
147 m_attributeVec.push_back(a);
152 m_elementVec.push_back(e);
157 m_notationVec.push_back(n);
void addAnnotation(Annotation *a)
const boost::ptr_vector< Group > & getGroups() const
void addElement(Element *e)
void addAttribute(AbstractAttribute *a)
void addNamespace(const std::string &ns, const std::string &nsprefix)
void addAttributeGroup(AttributeGroup *ag)
It models a XML Schema import.
A class that models an XML Schema (XSD).
This class models the element of a XML Schema.
const boost::ptr_vector< ComplexType > & getComplexTypes() const
It models a XML Schema include.
void addImport(Import *i)
const boost::ptr_vector< Import > & getImports() const
const boost::ptr_vector< Notation > & getNotations() const
const boost::ptr_vector< Include > & getIncludes() const
It models a XML Schema redefine.
This is the base class for XML Schema Attribute classes.
void addNotation(Notation *n)
const boost::ptr_vector< Element > & getElements() const
It models a XML Schema Complex Type definition.
A base class for XSD classes that must provide a unique ID property.
void addComplexType(ComplexType *c)
const boost::ptr_vector< Annotation > & getAnnotations() const
void addRedefine(Redefine *r)
It indicates that the attribute attribute is not required to be qualified with the namespace prefix a...
const boost::ptr_vector< SimpleType > & getSimpleTypes() const
const boost::ptr_vector< AttributeGroup > & getAttributeGroups() const
const boost::ptr_vector< AbstractAttribute > & getAttributes() const
void addSimpleType(SimpleType *s)
A class that models a XSD annotation element.
This class models a notation element from a XML Schema.
It models a XML Schema SimpleType element.
void addInclude(Include *i)
const boost::ptr_vector< Redefine > & getRedefines() const
This class models a group element in a XML Schema.