This class models a notation element from a XML Schema.
More...
#include <Notation.h>
|
std::string * | m_name |
| It specifies a name for the element. (Required) More...
|
|
std::string * | m_public |
| It specifies a URI corresponding to the public identifier. (Required) More...
|
|
std::string * | m_system |
| It specifies a URI corresponding to the system identifier. (Optional) More...
|
|
This class models a notation element from a XML Schema.
- Note
- Parent elements: schema.
Definition at line 44 of file Notation.h.
te::xsd::Notation::Notation |
( |
std::string * |
name, |
|
|
std::string * |
pub, |
|
|
Annotation * |
ann = 0 , |
|
|
std::string * |
id = 0 |
|
) |
| |
Constructor.
- Parameters
-
id | It specifies a unique ID for the element. It can be a NULL value. |
name | It specifies a name for the element. It can not be a NULL value. |
pub | It specifies a URI corresponding to the public identifier. It can not be a NULL value. |
- Note
- The Notation object will take the ownership of the pointers id, name and pub.
te::xsd::Notation::Notation |
( |
const Notation & |
rhs | ) |
|
Copy constructor.
- Parameters
-
rhs | Right-hand-side object. |
te::xsd::Notation::~Notation |
( |
| ) |
|
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.
std::string* te::xsd::Notation::getName |
( |
| ) |
const |
It returns the name of this element.
- Returns
- The name of this element.
std::string* te::xsd::Notation::getPublic |
( |
| ) |
const |
It returns the URI corresponding to the public identifier.
- Returns
- The URI corresponding to the public identifier.
std::string* te::xsd::Notation::getSystem |
( |
| ) |
const |
It returns the URI corresponding to the system identifier.
- Returns
- The URI corresponding to the system identifier.
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::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::Notation::setName |
( |
std::string * |
name | ) |
|
It sets the name of this element.
- Parameters
-
name | The name of this element. |
- Note
- The Notation object will take the ownership of the given pointer.
void te::xsd::Notation::setPublic |
( |
std::string * |
pub | ) |
|
It sets the URI corresponding to the public identifier.
- Parameters
-
pub | The URI corresponding to the public identifier. |
- Note
- The Notation object will take the ownership of the given pointer.
void te::xsd::Notation::setSystem |
( |
std::string * |
sys | ) |
|
It sets the URI corresponding to the system identifier.
- Parameters
-
sys | The URI corresponding to the system identifier. |
- Note
- The Notation object will take the ownership of the given pointer.
std::string* te::xsd::Notation::m_name |
|
private |
It specifies a name for the element. (Required)
Definition at line 132 of file Notation.h.
std::string* te::xsd::Notation::m_public |
|
private |
It specifies a URI corresponding to the public identifier. (Required)
Definition at line 133 of file Notation.h.
std::string* te::xsd::Notation::m_system |
|
private |
It specifies a URI corresponding to the system identifier. (Optional)
Definition at line 134 of file Notation.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/xsd/Notation.h