#include <Element.h>
Definition at line 55 of file Element.h.
te::at::Element::Element |
( |
| ) |
|
Text Element constructor.
- Parameters
-
value | The string value. |
location | The Text entry point in world coordinates. |
leaderLine | The Text leader line in world coordinates. |
- Note
- The Element will become owner of location and leaderLine pointers.
te::at::Element::~Element |
( |
| ) |
|
te::at::Element::Element |
( |
const Element & |
rhs | ) |
|
|
private |
No copy constructor allowed.
- Parameters
-
Element* te::at::Element::clone |
( |
| ) |
const |
It clones the Element.
- Returns
- A copy of the given Element.
- Note
- The caller of this method will take the ownership of the returned Element.
const Attributes* te::at::Element::getAttributes |
( |
| ) |
const |
it returns the text attributes.
The text attributes.
it returns the text leader line.
- Returns
- The text leader line.
it returns the text location.
- Returns
- The text location.
const std::string& te::at::Element::getValue |
( |
| ) |
const |
it returns the text string.
- Returns
- The text string.
No assignment operator allowed.
- Parameters
-
- Returns
- A reference for this.
void te::at::Element::setAttributes |
( |
Attributes * |
attribute | ) |
|
it sets the text attributes.
- Parameters
-
- Note
- The Element will become owner of attribute pointer.
it sets the text leader line.
- Parameters
-
leaderLine | The text leader line. |
- Note
- The Element will become owner of leaderLine pointer.
it sets the text location.
- Parameters
-
location | The text location. |
- Note
- The Element will become owner of location pointer.
void te::at::Element::setValue |
( |
const std::string & |
value | ) |
|
it sets the text string.
- Parameters
-
std::string te::at::Element::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/annotationtext/Element.h