A base class for SympleType elements. List, Union and Restriction4SimpleType is derived from this base class. More...
#include <SimpleTypeConstructor.h>
Public Member Functions | |
| virtual SimpleTypeConstructor * | clone () const =0 |
| It creates a clone of the object. More... | |
| Annotation * | getAnnotation () const |
| It returns the associated annotation. More... | |
| std::string * | getId () const |
| It returns a pointer (may be NULL) to the object id. More... | |
| SimpleTypeConstructor & | operator= (const SimpleTypeConstructor &rhs) |
| Assignment operator not allowed. More... | |
| void | setAnnotation (Annotation *ann) |
| It sets the associated annotation. More... | |
| void | setId (std::string *id) |
| it sets the id. More... | |
| SimpleTypeConstructor (Annotation *ann=0, std::string *id=0) | |
| Constructor. More... | |
| SimpleTypeConstructor (const SimpleTypeConstructor &rhs) | |
| Copy constructor. More... | |
| virtual | ~SimpleTypeConstructor () |
| Virtual destructor. More... | |
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.
| ann | An annotation. |
| id | It specifies a unique ID for the element. It can be a NULL value. |
Definition at line 29 of file SimpleTypeConstructor.cpp.
| te::xsd::SimpleTypeConstructor::SimpleTypeConstructor | ( | const SimpleTypeConstructor & | rhs | ) |
Copy constructor.
| rhs | Right-hand-side object. |
Definition at line 35 of file SimpleTypeConstructor.cpp.
|
virtual |
Virtual destructor.
Definition at line 41 of file SimpleTypeConstructor.cpp.
|
pure virtual |
It creates a clone of the object.
Implemented in te::xsd::Restriction4SimpleType, te::xsd::Union, and te::xsd::List.
Referenced by te::xsd::SimpleType::operator=(), and te::xsd::SimpleType::SimpleType().
|
inherited |
It returns the associated annotation.
Definition at line 30 of file Annotated.cpp.
References te::xsd::Annotated::m_annotation.
|
inherited |
It returns a pointer (may be NULL) to the object id.
Definition at line 35 of file Identifiable.cpp.
| te::xsd::SimpleTypeConstructor & te::xsd::SimpleTypeConstructor::operator= | ( | const SimpleTypeConstructor & | rhs | ) |
Assignment operator not allowed.
| rhs | Right-hand-side object. |
Definition at line 45 of file SimpleTypeConstructor.cpp.
References te::xsd::Identifiable::operator=(), and te::xsd::Annotated::operator=().
Referenced by te::xsd::List::operator=(), te::xsd::Union::operator=(), and te::xsd::Restriction4SimpleType::operator=().
|
inherited |
It sets the associated annotation.
| ann | The annotation to be associated to the object. The annotated class will take the ownership of the given pointer. |
Definition at line 35 of file Annotated.cpp.
Referenced by te::serialize::ReadAnnotated().
|
inherited |
it sets the id.
| id | The id to be associated to the object. It will take the ownership of the given string. |
Definition at line 29 of file Identifiable.cpp.
References te::xsd::Identifiable::m_id.
Referenced by te::serialize::ReadIdentifiable().