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