#include "TdkDefines.h"#include "TeDatabaseUtils.h"#include "TdkLayerGeneralization.h"#include "TdkLayout.h"#include "TdkLayoutPersistence.h"#include "TdkTemplateManager.h"#include "TdkLayerGeneralizationPersistenceUtils.h"#include "TdkObjectTypePersistenceManager.h"#include "TdkException.h"#include "TdkDatabaseException.h"#include "TdkDatabasePortalException.h"#include "TdkTecUtils.h"#include "TdkObjectFactory.h"#include "TdkStyle.h"#include "TdkStyleDecoder.h"#include "peer/components/core/styles/pointStyles/TdkPointStyle.inl"#include "peer/components/core/styles/pointStyles/TdkPointStyleFactory.h"#include "peer/components/core/styles/pointStyles/TdkPointStyleComposite.h"#include "peer/components/core/styles/linestyles/TdkLineStyle.h"#include "peer/components/core/styles/linestyles/TdkLineStyleFactory.h"#include "peer/components/core/styles/linestyles/TdkLineStyleComposite.h"#include "peer/components/core/styles/linestyles/TdkLineStylePeriodicSymbol.h"#include "peer/components/core/styles/polygonstyles/TdkPolygonStyle.h"#include "peer/components/core/styles/polygonstyles/TdkPolygonStyleFactory.h"#include "peer/components/core/styles/polygonstyles/TdkPolygonStyleComposite.h"#include "peer/components/core/TdkSetup.h"#include "TeDBConnectionsPool.h"#include "TdkCache.h"#include "TdkPersistenceService.h"#include "TdkUserAccessPersistenceManager.h"#include "TdkMediaPersistenceManager.h"#include "TdkDatabaseUtils.h"#include "TeUpdateDBVersion.h"#include "TeLayerFunctions.h"#include "TeUtils.h"#include "TeTable.h"Functions | |
| bool | changeColumnName (TeDatabase *db, std::string tableName, std::string oldColumnName, TeAttributeRep newColumnRep, std::string idField) |
| bool | copyVisual (TeDatabase *db, std::string tableFrom, std::string tableTo) |
| bool | TdkCopyBLOB (TeDatabase *db, std::string tableFrom, std::string tableTo, std::vector< std::string > keyFields, std::string blobField) |
| bool | updateIntegrity (TeDatabase *db) |
| void | createThemePropertiesTable_To_1_2 (TeDatabase *db) |
| void | updateThemes_To_1_2 (TeDatabase *db) |
| void | updateTdkDBVersion_1_2_1_To_1_2_2 (TeDatabase *db) |
| void | verifyProjects (TeDatabase *db) |
| Creates projects if there are any view and no are any project. | |
| void | updateTdkDBVersion_To_1_2 (TeDatabase *db) |
| updates database to Tdk release 1.2 (Terralib to 3.0.1) | |
| void | updaTdkLineStyle (TeDatabase *db, TeDatabasePortal *portal, const std::string &tableName, const std::string &colName, const std::vector< std::string > &ids) |
| void | updaTdkPolygonStyle (TeDatabase *db, TeDatabasePortal *portal, const std::string &tableName, const std::string &colName, const std::vector< std::string > &ids) |
| void | updaTdkPointStyle (TeDatabase *db, TeDatabasePortal *portal, const std::string &tableName, const std::string &colName, const std::vector< std::string > &ids) |
| bool | updateVisualStyles (TeDatabase *db) |
| void | updateLibraryStyles (TeDatabase *db) |
| void | updaTdkLineStyleAsComposite (TeDatabase *db, TeDatabasePortal *portal, const std::string &tableName, const std::string &colName, const std::vector< std::string > &ids) |
| void | updaTdkPolygonStyleAsComposite (TeDatabase *db, TeDatabasePortal *portal, const std::string &tableName, const std::string &colName, const std::vector< std::string > &ids) |
| void | updaTdkPointStyleAsComposite (TeDatabase *db, TeDatabasePortal *portal, const std::string &tableName, const std::string &colName, const std::vector< std::string > &ids) |
| bool | updateVisualStylesAsComposite (TeDatabase *db) |
| void | updateLibraryStylesAsComposite (TeDatabase *db) |
| void | updateTdkDBVersion_1_2_To_1_2_1 (TeDatabase *db) |
| updates database to Tdk release 1.2 to 1.2.1 | |
| void | updateVersionStamp (TeDatabase *db, const std::string tdkDbVersion) |
| void | updateTdkDBVersion (TeDatabase *db) |
| update database Terralib version | |
| bool | needUpdateTdkDBVersion (TeDatabase *db, std::string &version) |
| verify if the database needs Tdk update | |
| void | TdCreateGeometryTable (TdkLayer *fromLayer, TdkLayer *toLayer, TeRepresentation *rep) |
| bool | TdkCopyTreeView (TeDatabase *dbFrom, TeDatabase *dbTo, std::map< int, int > &layersIdMap, TdkView *fromView, TdkView *toView, TeViewNode *fromNode, TeViewNode *toNode) |
| void | TdkCopyMediasTables (TeDatabase *dbFrom, TeDatabase *dbTo, std::map< int, int > &mediasMap, std::map< std::string, std::string > &mediaTablesMap) |
| void | TdkCopyMediasLayerToLayer (TeDatabase *dbFrom, TeDatabase *dbTo, std::map< int, int > &mediasMap, std::map< std::string, std::string > &mediaTablesMap, TdkLayer *fromLayer, TdkLayer *toLayer) |
| std::string | replacePontuation (std::string &value) |
| void | TdkCopyRasteFileLayerToLayer (TeDatabase *dbFrom, TeDatabase *dbTo, TdkLayer *fromLayer, TdkLayer *toLayer) |
| bool | TdkCopyStylesLibrary (TeDatabase *dbFrom, TeDatabase *dbTo) |
| bool | TdkCopyDatabaseTables (TeDatabase *dbFrom, TeDatabase *dbTo) |
| void | updateTdkDBVersion_1_3_1_To_1_3_2 (TeDatabase *db) |
| updates database to Tdk release 1.3.1 to 1.3.2 | |
| void | updateTdkDBVersion_1_3_2_To_1_3_3 (TeDatabase *db) |
| updates database to Tdk release 1.3.2 to 1.3.3 | |
| void | updateTdkDBVersion_1_3_3_To_1_3_4 (TeDatabase *db) |
| updates database to Tdk release 1.3.3 to 1.3.4 | |
| void | updateTdkDBVersion_1_3_4_To_1_3_5 (TeDatabase *db) |
| updates database to Tdk release 1.3.4 to 1.3.5 | |
| void | updateTdkDBVersion_1_3_5_To_1_3_6 (TeDatabase *db) |
| updates database to Tdk release 1.3.5 to 1.3.6 | |
| void | updateTdkDBVersion_1_3_6_To_1_3_7 (TeDatabase *db) |
| updates database to Tdk release 1.3.6 to 1.3.7 | |
| void | updateTdkDBVersion_1_3_7_To_1_3_8 (TeDatabase *db) |
| updates database to Tdk release 1.3.7 to 1.3.8 | |
| void | updateTdkDBVersion_1_3_8_To_1_3_9 (TeDatabase *db) |
| updates database to Tdk release 1.3.8 to 1.3.9 | |
| void | updateTdkDBVersion_1_3_9_To_1_3_10 (TeDatabase *db) |
| updates database to Tdk release 1.3.9 to 1.3.10 | |
| void | TdkRenameTable (TeDatabase *db, std::string tableName, std::string newTableName, bool overWrite) |
| void | TdkCreatePrimaryKey (TeDatabase *db, std::string currentTableName, std::string tableName, std::vector< std::string > keyNames, bool isPrimaryKey, bool isAutoNumber) |
| void | copyStyleToTdkVisual (TeDatabase *db, std::string &blobCol, TeGeomRep rep) |
| void | updateTdkDBVersion_1_3_15_To_1_3_16 (TeDatabase *db) |
| updates database to Tdk release 1.3.15 to 1.3.16 | |
| void | updateTdkDBVersion_1_3_14_To_1_3_15 (TeDatabase *db) |
| updates database to Tdk release 1.3.14 to 1.3.15 | |
| void | updateTdkDBVersion_1_3_13_To_1_3_14 (TeDatabase *db) |
| updates database to Tdk release 1.3.13 to 1.3.14 | |
| void | updateTdkDBVersion_1_3_12_To_1_3_13 (TeDatabase *db) |
| updates database to Tdk release 1.3.12 to 1.3.13 | |
| void | updateTdkDBVersion_1_3_11_To_1_3_12 (TeDatabase *db) |
| updates database to Tdk release 1.3.11 to 1.3.12 | |
| void | updateTdkDBVersion_1_3_10_To_1_3_11 (TeDatabase *db) |
| updates database to Tdk release 1.3.10 to 1.3.11 | |
| bool | insertVisual (TeDatabase *db, int legendId, TdkVisual *vist, TeGeomRep geomRep) |
| void | updateTdkDBVersion_1_2_2_To_1_3_1 (TeDatabase *db) |
| updates database to Tdk release 1.2.1 to 1.3.1 | |
| void | udpaTdkStyleTransparency (TeDatabase *db) |
| Adjusts the transparency of tdk to terralib. | |
| bool changeColumnName | ( | TeDatabase * | db, | |
| std::string | tableName, | |||
| std::string | oldColumnName, | |||
| TeAttributeRep | newColumnRep, | |||
| std::string | idField | |||
| ) |
| void copyStyleToTdkVisual | ( | TeDatabase * | db, | |
| std::string & | blobCol, | |||
| TeGeomRep | rep | |||
| ) |
| bool copyVisual | ( | TeDatabase * | db, | |
| std::string | tableFrom, | |||
| std::string | tableTo | |||
| ) |
| void createThemePropertiesTable_To_1_2 | ( | TeDatabase * | db | ) |
| bool insertVisual | ( | TeDatabase * | db, | |
| int | legendId, | |||
| TdkVisual * | vist, | |||
| TeGeomRep | geomRep | |||
| ) |
| bool needUpdateTdkDBVersion | ( | TeDatabase * | db, | |
| std::string & | version | |||
| ) |
verify if the database needs Tdk update
| std::string replacePontuation | ( | std::string & | value | ) |
| bool TdkCopyBLOB | ( | TeDatabase * | db, | |
| std::string | tableFrom, | |||
| std::string | tableTo, | |||
| std::vector< std::string > | keyFields, | |||
| std::string | blobField | |||
| ) |
| bool TdkCopyDatabaseTables | ( | TeDatabase * | dbFrom, | |
| TeDatabase * | dbTo | |||
| ) |
| void TdkCopyMediasLayerToLayer | ( | TeDatabase * | dbFrom, | |
| TeDatabase * | dbTo, | |||
| std::map< int, int > & | mediasMap, | |||
| std::map< std::string, std::string > & | mediaTablesMap, | |||
| TdkLayer * | fromLayer, | |||
| TdkLayer * | toLayer | |||
| ) |
| void TdkCopyMediasTables | ( | TeDatabase * | dbFrom, | |
| TeDatabase * | dbTo, | |||
| std::map< int, int > & | mediasMap, | |||
| std::map< std::string, std::string > & | mediaTablesMap | |||
| ) |
| void TdkCopyRasteFileLayerToLayer | ( | TeDatabase * | dbFrom, | |
| TeDatabase * | dbTo, | |||
| TdkLayer * | fromLayer, | |||
| TdkLayer * | toLayer | |||
| ) |
| bool TdkCopyStylesLibrary | ( | TeDatabase * | dbFrom, | |
| TeDatabase * | dbTo | |||
| ) |
| bool TdkCopyTreeView | ( | TeDatabase * | dbFrom, | |
| TeDatabase * | dbTo, | |||
| std::map< int, int > & | layersIdMap, | |||
| TdkView * | fromView, | |||
| TdkView * | toView, | |||
| TeViewNode * | fromNode, | |||
| TeViewNode * | toNode | |||
| ) |
| void TdkCreatePrimaryKey | ( | TeDatabase * | db, | |
| std::string | currentTableName, | |||
| std::string | tableName, | |||
| std::vector< std::string > | keyNames, | |||
| bool | isPrimaryKey, | |||
| bool | isAutoNumber | |||
| ) |
| void TdkRenameTable | ( | TeDatabase * | db, | |
| std::string | tableName, | |||
| std::string | newTableName, | |||
| bool | overWrite | |||
| ) |
| void udpaTdkStyleTransparency | ( | TeDatabase * | db | ) |
Adjusts the transparency of tdk to terralib.
| void updaTdkLineStyle | ( | TeDatabase * | db, | |
| TeDatabasePortal * | portal, | |||
| const std::string & | tableName, | |||
| const std::string & | colName, | |||
| const std::vector< std::string > & | ids | |||
| ) |
| void updaTdkLineStyleAsComposite | ( | TeDatabase * | db, | |
| TeDatabasePortal * | portal, | |||
| const std::string & | tableName, | |||
| const std::string & | colName, | |||
| const std::vector< std::string > & | ids | |||
| ) |
| void updaTdkPointStyle | ( | TeDatabase * | db, | |
| TeDatabasePortal * | portal, | |||
| const std::string & | tableName, | |||
| const std::string & | colName, | |||
| const std::vector< std::string > & | ids | |||
| ) |
| void updaTdkPointStyleAsComposite | ( | TeDatabase * | db, | |
| TeDatabasePortal * | portal, | |||
| const std::string & | tableName, | |||
| const std::string & | colName, | |||
| const std::vector< std::string > & | ids | |||
| ) |
| void updaTdkPolygonStyle | ( | TeDatabase * | db, | |
| TeDatabasePortal * | portal, | |||
| const std::string & | tableName, | |||
| const std::string & | colName, | |||
| const std::vector< std::string > & | ids | |||
| ) |
| void updaTdkPolygonStyleAsComposite | ( | TeDatabase * | db, | |
| TeDatabasePortal * | portal, | |||
| const std::string & | tableName, | |||
| const std::string & | colName, | |||
| const std::vector< std::string > & | ids | |||
| ) |
| bool updateIntegrity | ( | TeDatabase * | db | ) |
| void updateLibraryStyles | ( | TeDatabase * | db | ) |
| void updateLibraryStylesAsComposite | ( | TeDatabase * | db | ) |
| void updateTdkDBVersion_1_2_1_To_1_2_2 | ( | TeDatabase * | db | ) |
| void updateTdkDBVersion_1_2_2_To_1_3_1 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.2.1 to 1.3.1
| void updateTdkDBVersion_1_2_To_1_2_1 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.2 to 1.2.1
| void updateTdkDBVersion_1_3_10_To_1_3_11 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.10 to 1.3.11
| void updateTdkDBVersion_1_3_11_To_1_3_12 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.11 to 1.3.12
| void updateTdkDBVersion_1_3_12_To_1_3_13 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.12 to 1.3.13
| void updateTdkDBVersion_1_3_13_To_1_3_14 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.13 to 1.3.14
| void updateTdkDBVersion_1_3_14_To_1_3_15 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.14 to 1.3.15
| void updateTdkDBVersion_1_3_15_To_1_3_16 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.15 to 1.3.16
| void updateTdkDBVersion_1_3_1_To_1_3_2 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.1 to 1.3.2
| void updateTdkDBVersion_1_3_2_To_1_3_3 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.2 to 1.3.3
| void updateTdkDBVersion_1_3_3_To_1_3_4 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.3 to 1.3.4
| void updateTdkDBVersion_1_3_4_To_1_3_5 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.4 to 1.3.5
| void updateTdkDBVersion_1_3_5_To_1_3_6 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.5 to 1.3.6
| void updateTdkDBVersion_1_3_6_To_1_3_7 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.6 to 1.3.7
| void updateTdkDBVersion_1_3_7_To_1_3_8 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.7 to 1.3.8
| void updateTdkDBVersion_1_3_8_To_1_3_9 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.8 to 1.3.9
| void updateTdkDBVersion_1_3_9_To_1_3_10 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.3.9 to 1.3.10
| void updateTdkDBVersion_To_1_2 | ( | TeDatabase * | db | ) |
updates database to Tdk release 1.2 (Terralib to 3.0.1)
| void updateThemes_To_1_2 | ( | TeDatabase * | db | ) |
Themes properties
| void updateVersionStamp | ( | TeDatabase * | db, | |
| const std::string | tdkDbVersion | |||
| ) |
| bool updateVisualStyles | ( | TeDatabase * | db | ) |
| bool updateVisualStylesAsComposite | ( | TeDatabase * | db | ) |
| void verifyProjects | ( | TeDatabase * | db | ) |
Creates projects if there are any view and no are any project.
1.5.2