It models a XML Schema include. More...
#include <Include.h>
Public Member Functions | |
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... | |
const std::string & | getSchemaLocation () const |
It returns the location of the referenced schema. More... | |
Include (const std::string &schemaLocation, Annotation *ann=0, std::string *id=0) | |
Constructor. More... | |
Include (const Include &rhs) | |
Copy constructor. More... | |
Include & | operator= (const Include &rhs) |
Assignment operator. More... | |
void | setAnnotation (Annotation *ann) |
It sets the associated annotation. More... | |
void | setId (std::string *id) |
it sets the id. More... | |
void | setSchemaLocation (const std::string &schemaLocation) |
It sets the location of the referenced schema. More... | |
~Include () | |
Destructor. More... | |
Private Attributes | |
std::string | m_schemaLocation |
It specifies the URI to the schema to include in the target namespace of the containing schema. (Required) More... | |
te::xsd::Include::Include | ( | const std::string & | schemaLocation, |
Annotation * | ann = 0 , |
||
std::string * | id = 0 |
||
) |
Constructor.
id | It specifies a unique ID for the element. It can be a NULL value. |
schemaLocation | It specifies the URI to the schema to include in the target namespace of the containing schema. |
Definition at line 29 of file Include.cpp.
te::xsd::Include::Include | ( | const Include & | rhs | ) |
te::xsd::Include::~Include | ( | ) |
Destructor.
Definition at line 43 of file Include.cpp.
|
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.
const std::string & te::xsd::Include::getSchemaLocation | ( | ) | const |
It returns the location of the referenced schema.
Definition at line 52 of file Include.cpp.
te::xsd::Include & te::xsd::Include::operator= | ( | const Include & | rhs | ) |
Assignment operator.
rhs | Right-hand-side object. |
Definition at line 47 of file Include.cpp.
|
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::xsd::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::xsd::serialize::ReadIdentifiable().
void te::xsd::Include::setSchemaLocation | ( | const std::string & | schemaLocation | ) |
It sets the location of the referenced schema.
schemaLocation | The schema location. |
Definition at line 57 of file Include.cpp.
|
private |