120 return m_attributeVec;
166 m_attributeVec.clear();
184 m_attributeVec.clear();
212 m_attributeVec.push_back(a);
ComplexType & operator=(const ComplexType &rhs)
Assignment operator.
std::string * getName() const
It returns the element name or NULL if it doesn't have one.
void addAttribute(AbstractAttribute *a)
It adds an attribute to this ComplexType.
It models an XML Schema complexContent element.
void setAnyAttribute(AnyAttribute *a)
It sets the anyAttribute to this ComplexType.
~ComplexType()
Destructor.
A base class for XSD classes that may allow annotation.
It models an XML Schema complexContent element.
int getBlock()
It returns the block value for the CompleType.
void setComplexContent(ComplexContent *cc)
It sets the ComplexContent to this ComplexType.
void setBlock(int v)
It prevents an element with a specified type of derivation from being used in place of this element...
void setFinal(int v)
It sets the default value of the final attribute on the element element.
A base class for elements that are not definitions nor declarations. This class is just for creating ...
SimpleContent * getSimpleContent() const
It returns the SimpleContent of this ComplexType.
AnyAttribute * getAnyAttribute() const
It returns the anyAttribute defined on this ComplexType.
void setAsAbstract(bool v)
It specifies whether the element can be used in an instance of the document.
A base class for elements that are not definitions nor declarations. This class is just for creating ...
void setSimpleContent(SimpleContent *sc)
It sets the SimpleContent to this ComplexType.
This is the base class for XML Schema Attribute classes.
It models an XML anyAttribute element.
This is the base class for XML Schema Attribute classes.
It models a XML Schema Complex Type definition.
It models a XML Schema Complex Type definition.
A base class for XSD classes that must provide a unique ID property.
void setName(std::string *name)
It sets the element name.
It models an XML anyAttribute element.
ComplexType(Annotation *ann=0, std::string *id=0)
Constructor.
bool isAbstract()
If the CompleType is "abstract" or not.
bool isMixed()
If the CompleType is "mixed" or not.
Content * getContent()
It returns the content element of this ComplexType.
A class that models an XML Schema simpleContent element.
const boost::ptr_vector< AbstractAttribute > & getAttributes() const
It returns the list of attributes of this ComplexType.
A class that models an XML Schema simpleContent element.
ComplexContent * getComplexContent() const
It returns the ComplexContent of this ComplexType.
void setContent(Content *c)
It sets the ComplexType content. It can be one of: group | all | choice | sequence.
A class that models a XSD annotation element.
void setAsMixed(bool v)
It specifies whether character data is allowed to appear between the child elements of this complexTy...
int getFinal()
It returns the final value for the CompleType.
An abstract class for modeling the definition of a new XML Schema Type.