#include <AttributeGroup.h>
|
AnyAttribute * | m_anyAttr |
| It enables the author to extend the XML document with attributes not specified by the schema. (Optional) More...
|
|
boost::ptr_vector< AbstractAttribute > | m_attributeVec |
| The list of attributes, references or nested attribute groups. (Optional) More...
|
|
std::string * | m_name |
| It specifies a name for the attribute group. (Optional) More...
|
|
QName * | m_ref |
| It specifies a reference to a named attribute group. Name and ref attributes cannot both be present. (Optional) More...
|
|
Definition at line 55 of file AttributeGroup.h.
te::xsd::AttributeGroup::AttributeGroup |
( |
Annotation * |
ann = 0 , |
|
|
std::string * |
id = 0 |
|
) |
| |
Constructor.
- Parameters
-
ann | An annotation. |
id | It specifies a unique ID for the element. |
- Note
- The AttributeGroup object will take the ownership of the annotation and id.
Copy constructor.
- Parameters
-
rhs | Right-hand-side object. |
te::xsd::AttributeGroup::~AttributeGroup |
( |
| ) |
|
It adds an attrbitue to this attribute group element.
- Parameters
-
a | The attribute that will be added. |
- Note
- The AttributeGroup object will take the ownership of the given pointer.
Annotation* te::xsd::Annotated::getAnnotation |
( |
| ) |
const |
|
inherited |
It returns the associated annotation.
- Returns
- The associated annotation.
AnyAttribute* te::xsd::AttributeGroup::getAnyAttribute |
( |
| ) |
const |
It returns the anyAttribute defined on this attribute group element.
- Returns
- The anyAttribute.
std::string* te::xsd::Identifiable::getId |
( |
| ) |
const |
|
inherited |
It returns a pointer (may be NULL) to the object id.
std::string* te::xsd::AttributeGroup::getName |
( |
| ) |
const |
It returns the name of the attribute group.
- Returns
- The name of the attribute group.
QName* te::xsd::AttributeGroup::getRef |
( |
| ) |
const |
It returns the reference to a named attribute element.
- Returns
- The reference to a named attribute element.
Assignment operator.
- Parameters
-
rhs | Right-hand-side object. |
- Returns
- A reference to this object.
void te::xsd::Annotated::setAnnotation |
( |
Annotation * |
ann | ) |
|
|
inherited |
It sets the associated annotation.
- Parameters
-
ann | The annotation to be associated to the object. The annotated class will take the ownership of the given pointer. |
void te::xsd::AttributeGroup::setAnyAttribute |
( |
AnyAttribute * |
a | ) |
|
It sets the anyAttribute to this attribute group element.
- Parameters
-
a | It specifies the anyAttribute. |
- Note
- The AttributeGroup object will take the ownership of the given pointer.
void te::xsd::Identifiable::setId |
( |
std::string * |
id | ) |
|
|
inherited |
it sets the id.
- Parameters
-
id | The id to be associated to the object. It will take the ownership of the given string. |
void te::xsd::AttributeGroup::setName |
( |
std::string * |
name | ) |
|
It sets a name for the attribute group.
- Parameters
-
name | The attribute group name. |
- Note
- Setting a name will turn to NULL the reference property.
-
The AttributeGroup object will take the ownership of the given pointer.
void te::xsd::AttributeGroup::setRef |
( |
QName * |
ref | ) |
|
It sets a reference to a named attribute.
- Parameters
-
ref | A reference to a named attribute. |
- Note
- Setting a reference property will turn to NULL the name.
-
The AttributeGroup object will take the ownership of the given pointer.
It enables the author to extend the XML document with attributes not specified by the schema. (Optional)
Definition at line 154 of file AttributeGroup.h.
The list of attributes, references or nested attribute groups. (Optional)
Definition at line 153 of file AttributeGroup.h.
std::string* te::xsd::AttributeGroup::m_name |
|
private |
It specifies a name for the attribute group. (Optional)
Definition at line 151 of file AttributeGroup.h.
QName* te::xsd::AttributeGroup::m_ref |
|
private |
It specifies a reference to a named attribute group. Name and ref attributes cannot both be present. (Optional)
Definition at line 152 of file AttributeGroup.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/xsd/AttributeGroup.h