A base class for SympleType elements. List, Union and Restriction4SimpleType is derived from this base class.
More...
#include <SimpleTypeConstructor.h>
A base class for SympleType elements. List, Union and Restriction4SimpleType is derived from this base class.
Definition at line 42 of file SimpleTypeConstructor.h.
te::xsd::SimpleTypeConstructor::SimpleTypeConstructor |
( |
Annotation * |
ann = 0 , |
|
|
std::string * |
id = 0 |
|
) |
| |
Constructor.
- Parameters
-
ann | An annotation. |
id | It specifies a unique ID for the element. It can be a NULL value. |
- Note
- The SimpleTypeConstructor object will take the ownership of the annotation and id.
Copy constructor.
- Parameters
-
rhs | Right-hand-side object. |
virtual te::xsd::SimpleTypeConstructor::~SimpleTypeConstructor |
( |
| ) |
|
|
virtual |
Annotation* te::xsd::Annotated::getAnnotation |
( |
| ) |
const |
|
inherited |
It returns the associated annotation.
- Returns
- The associated annotation.
std::string* te::xsd::Identifiable::getId |
( |
| ) |
const |
|
inherited |
It returns a pointer (may be NULL) to the object id.
Assignment operator not allowed.
- 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::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. |
The documentation for this class was generated from the following file: