All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
terralib4 Namespace Reference

Classes

class  Band
 
class  DataSource
 
class  GeomReader
 
class  Globals
 An static class with global definitions. More...
 
class  Module
 
class  Raster
 
class  RasterDataSet
 
class  TableDataSet
 Implementation of a dataset for the TerraLib 4 driver. More...
 
struct  ThemeInfo
 
class  Transactor
 
class  VectorDataSet
 Implementation of a dataset for the TerraLib 4 driver. More...
 

Functions

te::da::DataSourceBuild ()
 
TeAttrDataType Convert2T4 (int type)
 It converts a Terralib 5 data type to Terralib 4.x data type. More...
 
std::auto_ptr
< TeDatabaseFactoryParams > 
Convert2T4DatabaseParams (const std::map< std::string, std::string > &dsInfo)
 It converts a data source information to a TerraLib 4.x database params. More...
 
TeAttrDataType Convert2T4GeomType (te::gm::GeomType type)
 
std::auto_ptr< te::dt::PropertyConvert2T5 (const TeAttributeRep &attRep)
 It creates a valid TerraLib 5 property given a valid TerraLib 4.x attribute representation. More...
 
TETERRALIB4EXPORT int Convert2T5 (TeAttrDataType type)
 It converts a Terralib 4.x data type to Terralib 5 data type. More...
 
int Convert2T5 (TeDataType dt)
 
std::auto_ptr< te::gm::EnvelopeConvert2T5 (TeBox box)
 
std::auto_ptr
< te::da::DataSetType
Convert2T5 (TeTable table)
 
te::rst::RasterPropertyConvert2T5 (TeRasterParams &rparams)
 
te::gm::GeomType Convert2T5GeomType (TeAttrDataType type)
 
TETERRALIB4EXPORT te::gm::GeomType Convert2T5GeomType (TeGeomRep type)
 It converts a Terralib 4.x data type to Terralib 5 data type. More...
 

Function Documentation

te::da::DataSource* terralib4::Build ( )
inline

Definition at line 34 of file DataSourceFactory.h.

Referenced by terralib4::Module::startup().

TeAttrDataType terralib4::Convert2T4 ( int  type)
std::auto_ptr< TeDatabaseFactoryParams > terralib4::Convert2T4DatabaseParams ( const std::map< std::string, std::string > &  dsInfo)

It converts a data source information to a TerraLib 4.x database params.

Parameters
dsInfoThe data source information to be converted to a TerraLib 4.x database params.
Returns
A TerraLib 4.x database params.

Definition at line 131 of file Utils.cpp.

Referenced by terralib4::DataSource::getDataSourceNames().

TeAttrDataType terralib4::Convert2T4GeomType ( te::gm::GeomType  type)
std::auto_ptr< te::dt::Property > terralib4::Convert2T5 ( const TeAttributeRep &  attRep)
int terralib4::Convert2T5 ( TeAttrDataType  type)

It converts a Terralib 4.x data type to Terralib 5 data type.

Parameters
typeThe type to convert.
Returns
A TerraLib 5 data type.

Definition at line 145 of file Utils.cpp.

References te::dt::BOOLEAN_TYPE, te::dt::BYTE_ARRAY_TYPE, te::dt::CHAR_TYPE, te::dt::DATETIME_TYPE, te::dt::DOUBLE_TYPE, te::dt::GEOMETRY_TYPE, te::dt::INT32_TYPE, te::dt::RASTER_TYPE, te::dt::STRING_TYPE, te::dt::UINT32_TYPE, and te::dt::UNKNOWN_TYPE.

std::auto_ptr< te::gm::Envelope > terralib4::Convert2T5 ( TeBox  box)

Definition at line 356 of file Utils.cpp.

std::auto_ptr< te::da::DataSetType > terralib4::Convert2T5 ( TeTable  table)

Definition at line 363 of file Utils.cpp.

References Convert2T5().

te::gm::GeomType terralib4::Convert2T5GeomType ( TeGeomRep  type)

It converts a Terralib 4.x data type to Terralib 5 data type.

Parameters
typeThe type to convert.
Returns
A TerraLib 5 data type.

Definition at line 228 of file Utils.cpp.

References te::gm::LineStringType, te::gm::PointType, te::gm::PolygonType, and te::gm::UnknownGeometryType.