A class that models a documentation element used to enter text comments in annotations.
More...
#include <Documentation.h>
|
std::string * | m_lang |
| The language of the information. Example: "en". (Optional) More...
|
|
std::string * | m_source |
| An URI reference that specifies the source of the information. (Optional) More...
|
|
std::string * | m_value |
| A human readable text. (Required) More...
|
|
A class that models a documentation element used to enter text comments in annotations.
- See also
- Annotation, AnnotationItem, AppInfo
- Note
- Parent element: Annotation.
Definition at line 48 of file Documentation.h.
te::xsd::Documentation::Documentation |
( |
std::string * |
value, |
|
|
std::string * |
source = 0 , |
|
|
std::string * |
lang = 0 |
|
) |
| |
Constructor.
- Parameters
-
value | The descriptive information. (Required) |
source | An URI that specifies the source of the information. |
lang | The language of the information. |
- Note
- The Documentation object will take the ownership of the pointers source, lang and value.
te::xsd::Documentation::Documentation |
( |
const Documentation & |
rhs | ) |
|
Copy constructor.
- Parameters
-
rhs | Right-hand-side object. |
te::xsd::Documentation::~Documentation |
( |
| ) |
|
It creates a clone of the annotation item.
- Returns
- A clone of the annotation item. The client of this method will take the ownership of the clone.
Implements te::xsd::AnnotationItem.
std::string* te::xsd::Documentation::getLang |
( |
| ) |
const |
It returns the language used to code the annotation.
- Returns
- The language used to code the annotation.
std::string* te::xsd::Documentation::getSource |
( |
| ) |
const |
It returns the URI that specifies the source of the application information.
- Returns
- The URI.
std::string* te::xsd::Documentation::getValue |
( |
| ) |
const |
It returns the information associated to the annotation.
- Returns
- The information associated to the annotation.
Assignment operator.
- Parameters
-
rhs | Right-hand-side object. |
- Returns
- A reference to this object.
void te::xsd::Documentation::setLang |
( |
std::string * |
lang | ) |
|
It sets the language of the information.
- Parameters
-
lang | The language of the information. |
- Note
- The Documentation object will take the ownership of the given pointer.
void te::xsd::Documentation::setSource |
( |
std::string * |
source | ) |
|
It sets the URI reference that specifies the source of the information.
- Parameters
-
- Note
- The Documentation object will take the ownership of the given pointer.
void te::xsd::Documentation::setValue |
( |
std::string * |
doc | ) |
|
It sets the information associated to the annotation.
- Parameters
-
doc | A human readable material. This parameter can not be NULL. |
- Note
- The Documentation object will take the ownership of the given pointer.
std::string* te::xsd::Documentation::m_lang |
|
private |
The language of the information. Example: "en". (Optional)
Definition at line 136 of file Documentation.h.
std::string* te::xsd::Documentation::m_source |
|
private |
An URI reference that specifies the source of the information. (Optional)
Definition at line 135 of file Documentation.h.
std::string* te::xsd::Documentation::m_value |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/xsd/Documentation.h