The Utils Module


Namespaces

namespace  tdk
namespace  tdk

Classes

class  TdkLogger
 Implements o logger to trace the application. More...
class  TdkAccessConDescriptor
 Implements an ACCESS database descriptor. More...
class  TdkOracleConDescriptor
 Implements an ORACLE database descriptor. More...
class  TdkSqlServerConDescriptor
 Implements an SqlServer database descriptor. More...
class  TdkConDescriptor
 Defines an abstract database descriptor. More...
class  TdkMySQLConDescriptor
 Implements a MySQL database descriptor. More...
class  TdkMySQLPortal
 Implements TdkMySQLPortal class. More...
class  TdkPostGISPortal
 Implements TdkPostGISPortal class. More...
class  TdkPostgreSQLConDescriptor
 Implements a PostgreSQL database descriptor. More...
class  TdkPostgreSQLPortal
 Implements TdkPostgreSQLPortal class. More...
class  TeMySQLExtension
 Implements TeMySQLExtension class. More...
class  TePostGISExtension
 Implements TePostGISExtension class. More...
class  TePostgreSQLExtension
 Implements TePostgreSQLExtension class. More...
class  TdkGpsUtils
 Implements an gps utils. More...
class  TdkDatabaseException
 Provides a class for handling database exceptions. More...
class  TdkDatabasePortalException
 Provides a class for handling database portal errors. More...
class  TdkMonitor
 Monitor class. More...
class  TdkMonitor
 Monitor class. More...
class  TdkQuadTreeGeometrySelection
 Implements the TdkQuadTreeGeometrySelection class. More...
class  TdkQuadTreeLineSimpleSelection
 Implements the TdkQuadTreeGeometrySelection class. More...
class  TdkQuadTreeNode
 Implements the TdkQuadTreeNode class. More...
class  TdkQuadTreePointGeometricAverageSelection
 Implements the TdkQuadTreePointGeometricAverageSelection class. More...
class  TdkQuadTreePointSimpleSelection
 Implements the TdkQuadTreePointSimpleSelection class. More...
class  TdkQuadTreePointVQSelection
 Implements the TdkQuadTreePointVQSelection class. More...
class  TdkQueryUtils
 Implements the TdkQueryUtils class. More...
class  TdkTimeCount
 Implements the TdkTimeCount classe. More...
class  DBConnector
 Defines the DBConnector class. More...
class  SRSManager
 Defines the SRSManager class. More...

Typedefs

typedef std::vector< int > TdkQuadTreeObjectGeomIdVector
 Implements the TdkQuadTreeObject class.
typedef std::list< TdkObserverPattern * > TdkObserverList
 Implements the TdkSubjectPattern class.

Functions

virtual void TdkDefaultGraphicalService::drawLegend (TeViewTree *viewTree, TdkCanvas *canvas, double wx0, double wy0, double wx1, double wy1, bool multipleColumns, TdkViewNodeMap *nodeMap=NULL)
 Draws a legend (related to a TerraLib view) in a canvas.
bool TdkImportTrack (TeDatabase *db, string shapeFileName)
 Implements an gps utils.
void updateTdkDBVersion (TeDatabase *db)
 update database Terralib version
void TdkGroupByUniqueValue (long min, long max, std::vector< TeSlice > &result)
 Implements the grouping algorithms utils.
void TdkCreateMultiResCatalogTable (TeDatabase *db)
 Creates the multi-resolution strategy catalog table.
bool SameAttributes (std::vector< std::string > &attrsLoaded, std::vector< std::string > &attrsToLoad)
 Implements the queryable utils.
void TdkRelpaceStr (std::string &str, std::string old_str, std::string new_str)
 Implements the utils functions.
void TdkCopyVisualMap (const TeGeomRepVisualMap &source, TeGeomRepVisualMap &dest)
 Implements the utils functions.

Typedef Documentation

typedef std::list<TdkObserverPattern*> TdkObserverList

Implements the TdkSubjectPattern class.

typedef std::vector<int> TdkQuadTreeObjectGeomIdVector

Implements the TdkQuadTreeObject class.


Function Documentation

void TdkDefaultGraphicalService::drawLegend ( TeViewTree *  viewTree,
TdkCanvas canvas,
double  wx0,
double  wy0,
double  wx1,
double  wy1,
bool  multipleColumns,
TdkViewNodeMap nodeMap = NULL 
) [virtual, inherited]

Draws a legend (related to a TerraLib view) in a canvas.

Parameters:
viewTree The TerraLib view's tree of themes.
canvas The canvas where the legend will be drawn.
wx0 World coordinate to define where the legend will be drawn.
wx1 World coordinate to define where the legend will be drawn.
wy0 World coordinate to define where the legend will be drawn.
wy1 World coordinate to define where the legend will be drawn.
multipleColumns Whether to draw one or multiple columns.

Implements TdkAbstractGraphicalService.

bool SameAttributes ( std::vector< std::string > &  attrsLoaded,
std::vector< std::string > &  attrsToLoad 
)

Implements the queryable utils.

Tecgraf - GIS development team

Tdk Framework

@(#) TdkQueryable.cpp

void TdkCopyVisualMap ( const TeGeomRepVisualMap &  source,
TeGeomRepVisualMap &  dest 
)

Implements the utils functions.

Tecgraf - GIS development team

Tdk Framework

@(#) TdkTerralibUtils.cpp

void TdkCreateMultiResCatalogTable ( TeDatabase *  db  ) 

Creates the multi-resolution strategy catalog table.

Parameters:
db The database driver.

void TdkGroupByUniqueValue ( long  min,
long  max,
std::vector< TeSlice > &  result 
)

Implements the grouping algorithms utils.

bool TdkImportTrack ( TeDatabase *  db,
string  shapeFileName 
)

Implements an gps utils.

void TdkRelpaceStr ( std::string &  str,
std::string  old_str,
std::string  new_str 
)

Implements the utils functions.

Replaces in a string all the ocurrences of the old_str string by the new_str string.

void updateTdkDBVersion ( TeDatabase *  db  ) 

update database Terralib version


Generated on Fri Jun 15 16:54:22 2007 for TDK by  doxygen 1.5.2