The restriction class can be used to define restrictions on a complexContent.
More...
#include <Restriction4ComplexContent.h>
The restriction class can be used to define restrictions on a complexContent.
Definition at line 52 of file Restriction4ComplexContent.h.
te::xsd::Restriction4ComplexContent::Restriction4ComplexContent |
( |
std::string * |
id, |
|
|
QName * |
base |
|
) |
| |
Constructor.
- Parameters
-
id | It specifies a unique ID for the element. It can be a NULL value. |
base | It specifies the name of a built-in data type, simpleType element, or complexType element defined in this schema or another schema. It can not be a NULL value. |
- Note
- The Restriction4ComplexContent object will take the ownership of the given pointers.
Copy constructor.
- Parameters
-
rhs | Right-hand-side object. |
te::xsd::Restriction4ComplexContent::~Restriction4ComplexContent |
( |
| ) |
|
It adds an attribute to this restriction.
- Parameters
-
a | The attribute that will be added. |
- Note
- The Restriction4ComplexContent 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::Restriction4ComplexContent::getAnyAttribute |
( |
| ) |
const |
It returns the anyAttribute defined on this restriction.
- Returns
- The anyAttribute.
QName* te::xsd::Restriction4ComplexContent::getBase |
( |
| ) |
const |
It returns the name of a built-in data type, simple type or complex type that will be restricted.
- Returns
- The name of a built-in data type, simple type or complex type that will be restricted.
Content* te::xsd::Restriction4ComplexContent::getContent |
( |
| ) |
const |
It returns the content of this restriction.
- Returns
- The content of this restriction.
std::string* te::xsd::Identifiable::getId |
( |
| ) |
const |
|
inherited |
It returns a pointer (may be NULL) to the object id.
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::Restriction4ComplexContent::setAnyAttribute |
( |
AnyAttribute * |
a | ) |
|
It sets the anyAttribute to this restriction.
- Parameters
-
a | It specifies the anyAttribute. |
- Note
- The Restriction4ComplexContent object will take the ownership of the given pointer.
void te::xsd::Restriction4ComplexContent::setBase |
( |
QName * |
base | ) |
|
It sets the name of a built-in data type, simple type or complex type that will be restricted.
- Parameters
-
base | The name of a built-in data type, simple type or complex type that will be restricted. |
- Note
- The Restriction4ComplexContent object will take the ownership of the given pointer.
void te::xsd::Restriction4ComplexContent::setContent |
( |
Content * |
c | ) |
|
It sets the group content. It can be one of: group |all | choice | sequence.
- Parameters
-
c | The appropriate content to this restriction. |
- Note
- The Restriction4ComplexContent 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. |
AnyAttribute* te::xsd::Restriction4ComplexContent::m_anyAttr |
|
private |
boost::ptr_vector<AbstractAttribute> te::xsd::Restriction4ComplexContent::m_attributeVec |
|
private |
QName* te::xsd::Restriction4ComplexContent::m_base |
|
private |
It specifies the name of a built-in data type, simpleType element, or complexType element defined in this schema or another schema. (Required)
Definition at line 151 of file Restriction4ComplexContent.h.
Content* te::xsd::Restriction4ComplexContent::m_content |
|
private |
The documentation for this class was generated from the following file: