125 m_attributeVec.push_back(a);
AttributeGroup & operator=(const AttributeGroup &rhs)
Assignment operator.
void setAnyAttribute(AnyAttribute *a)
It sets the anyAttribute to this attribute group element.
~AttributeGroup()
Destructor.
It models a XML Schema attribute group.
A base class for XSD classes that may allow annotation.
void setName(std::string *name)
It sets a name for the attribute group.
AnyAttribute * getAnyAttribute() const
It returns the anyAttribute defined on this attribute group element.
Annotated & operator=(const Annotated &rhs)
Assignment operator.
QName * m_ref
It specifies a reference to a named attribute group. Name and ref attributes cannot both be present...
std::string * m_name
It specifies a name for the attribute group. (Optional)
A class to deal with XML qualified names.
It models an XML anyAttribute element.
AttributeGroup(Annotation *ann=0, std::string *id=0)
Constructor.
This is the base class for XML Schema Attribute classes.
A base class for XSD classes that must provide a unique ID property.
boost::ptr_vector< AbstractAttribute > m_attributeVec
The list of attributes, references or nested attribute groups. (Optional)
Identifiable & operator=(const Identifiable &rhs)
Assignment operator.
AbstractAttribute * clone() const
It models an XML anyAttribute element.
std::string * getName() const
It returns the name of the attribute group.
A class to be used to represent XML qualified names.
QName * getRef() const
It returns the reference to a named attribute element.
void addAttribute(AbstractAttribute *a)
It adds an attrbitue to this attribute group element.
A class that models a XSD annotation element.
void setRef(QName *ref)
It sets a reference to a named attribute.
AnyAttribute * m_anyAttr
It enables the author to extend the XML document with attributes not specified by the schema...