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