![]() |
TerraLib 4.1
|
TeGeomSingle: A class for handling geometries in TerraLib which consist of one location. More...
#include <TeGeometry.h>
Public Types | |
| typedef T | value_type |
| Exports the type of the element of a TeGeomSingle. | |
Public Member Functions | |
| TeGeomSingle () | |
| Empty constructor. | |
| TeGeomSingle (const T &elem) | |
| Constructor from the single element of the container. | |
| TeGeomSingle (const TeGeomSingle &other) | |
| Copy Constructor. | |
| TeGeomSingle & | operator= (const TeGeomSingle &other) |
| Equal Operator. | |
| virtual | ~TeGeomSingle () |
| Destructor. | |
| void | add (T &elem) |
| Changes the unique element. | |
| T & | location () |
| Returns the unique element. | |
| const T & | location () const |
| Returns the unique element. | |
| T & | elem () |
| Returns the unique element. | |
| const T & | elem () const |
| Returns the unique element. | |
| T & | operator[] (int) |
| Returns the unique element. | |
| bool | operator== (const TeGeomSingle &other) const |
| Returns TRUE if a TeGeomSingle is equal to other. | |
| int | size () |
| Returns the size of a TeGeomSingle: always 1. | |
Protected Attributes | |
| T | elem_ |
TeGeomSingle: A class for handling geometries in TerraLib which consist of one location.
| typedef T TeGeomSingle< T >::value_type |
Exports the type of the element of a TeGeomSingle.
| TeGeomSingle< T >::TeGeomSingle | ( | ) | [inline] |
Empty constructor.
| TeGeomSingle< T >::TeGeomSingle | ( | const T & | elem | ) | [inline] |
Constructor from the single element of the container.
| TeGeomSingle< T >::TeGeomSingle | ( | const TeGeomSingle< T > & | other | ) | [inline] |
Copy Constructor.
| virtual TeGeomSingle< T >::~TeGeomSingle | ( | ) | [inline, virtual] |
Destructor.
| void TeGeomSingle< T >::add | ( | T & | elem | ) | [inline] |
Changes the unique element.
| T& TeGeomSingle< T >::elem | ( | ) | [inline] |
Returns the unique element.
| const T& TeGeomSingle< T >::elem | ( | ) | const [inline] |
Returns the unique element.
| const T& TeGeomSingle< T >::location | ( | ) | const [inline] |
Returns the unique element.
| T& TeGeomSingle< T >::location | ( | ) | [inline] |
Returns the unique element.
| TeGeomSingle& TeGeomSingle< T >::operator= | ( | const TeGeomSingle< T > & | other | ) | [inline] |
Equal Operator.
| bool TeGeomSingle< T >::operator== | ( | const TeGeomSingle< T > & | other | ) | const [inline] |
Returns TRUE if a TeGeomSingle is equal to other.
| T& TeGeomSingle< T >::operator[] | ( | int | ) | [inline] |
Returns the unique element.
| int TeGeomSingle< T >::size | ( | ) | [inline] |
Returns the size of a TeGeomSingle: always 1.
T TeGeomSingle< T >::elem_ [protected] |