26 #ifndef __TERRALIB_T4_INTERNAL_UTILS_H    27 #define __TERRALIB_T4_INTERNAL_UTILS_H    35 #include "../common/Enums.h"    36 #include "../datatype/Enums.h"    37 #include "../datatype/Property.h"    38 #include "../geometry/Enums.h"    42 #include <terralib4/kernel/TeAttribute.h>    43 #include <terralib4/kernel/TeDatabase.h>    47   namespace da { 
class DataSetType; }
    48   namespace dt { 
class Property; }
    49   namespace gm { 
class Envelope; }
    50   namespace rst { 
class RasterProperty; }
    54 class TeDatabaseFactoryParams;
    72   std::unique_ptr<te::dt::Property> 
Convert2T5(
const TeAttributeRep& attRep);
   107   std::unique_ptr<te::gm::Envelope> 
Convert2T5(TeBox box);
   109   std::unique_ptr<te::da::DataSetType> 
Convert2T5(TeTable table);
   134 #endif  // __TERRALIB_T4_INTERNAL_UTILS_H TeAttrDataType Convert2T4GeomType(te::gm::GeomType type)
 
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code. 
 
std::unique_ptr< TeDatabaseFactoryParams > Convert2T4DatabaseParams(const std::string &dsInfo)
It converts a data source information to a TerraLib 4.x database params. 
 
te::gm::GeomType GetCollection(TeGeomRep rep)
 
TETERRALIB4EXPORT std::string Convert2Utf8(const std::string &str)
 
Configuration flags for the TerraLib 4 driver. 
 
te::gm::GeomType GetMinimalRepresentation(const std::vector< TeGeometry * > &geoms)
 
te::rst::RasterProperty * Convert2T5(TeRasterParams &rparams)
 
TETERRALIB4EXPORT te::gm::GeomType Convert2T5GeomType(TeGeomRep type)
It converts a Terralib 4.x data type to Terralib 5 data type. 
 
void CheckDecimalSeparator(std::string &value)
 
#define TETERRALIB4EXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
TETERRALIB4EXPORT std::string Convert2Latin1(const std::string &str)
 
TeAttrDataType Convert2T4(int type)
It converts a Terralib 5 data type to Terralib 4.x data type.