26 #ifndef __TERRALIB_DATATYPE_INTERNAL_DATATYPE_H
27 #define __TERRALIB_DATATYPE_INTERNAL_DATATYPE_H
68 DataType(
const std::string& name,
const std::string& description);
85 const std::string& getName()
const;
92 const std::string& getDescription()
const;
110 DataType(
int id,
const std::string& name,
const std::string& description);
129 : m_id(0), m_name(name), m_description(description)
149 : m_id(id), m_name(name), m_description(description)
161 #endif // __TERRALIB_DATATYPE_INTERNAL_DATATYPE_H
const std::string & getName() const
It returns the data type name.
te::da::Expression * operator<(const te::da::Expression &e1, const te::da::Expression &e2)
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
It stores information about a data type.
int getId() const
It returns the data type id.
std::string m_name
Data type name.
std::string m_description
Data type description.
int m_id
Data type id assigned by TerraLib.
DataType()
Default constructor.
Configuration flags for the DataType module of TerraLib.
void setId(int id)
This method can be called only by DataTypeManager.
bool operator<(const DataType &rhs) const
It compares two data types by their ids.