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
TEDATAACCESSEXPORT te::da::Expression * operator<(const te::da::Expression &e1, const te::da::Expression &e2)
It stores information about a data type.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the DataType module of TerraLib.
const std::string & getName() const
It returns the data type name.
void setId(int id)
This method can be called only by DataTypeManager.
std::string m_description
Data type description.
bool operator<(const DataType &rhs) const
It compares two data types by their ids.
int getId() const
It returns the data type id.
std::string m_name
Data type name.
DataType()
Default constructor.
int m_id
Data type id assigned by TerraLib.