Class with help methods for the application.
More...
#include <Utils.h>
Class with help methods for the application.
Definition at line 44 of file Utils.h.
static bool Utils::getDataSource |
( |
std::string |
dsType, |
|
|
std::string |
connStr, |
|
|
te::da::DataSource *& |
dataSource, |
|
|
std::string & |
errorMessage |
|
) |
| |
|
static |
Method to connect with a Data Source.
- Parameters
-
dsType | Dataq Source Type |
dataSource | Return DataSource |
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
Getting Foreign Key Properties Names.
- Parameters
-
- Returns
- String vector with the Foreign Key properties names.
static std::vector<std::string> Utils::getIdxPropertiesNames |
( |
te::da::Index * |
idx | ) |
|
|
static |
Getting Index Properties Names.
- Parameters
-
- Returns
- String vector with the Index properties names.
static std::string Utils::getIdxTypeName |
( |
int |
id | ) |
|
|
static |
Getting Primary Key Properties Names.
- Parameters
-
- Returns
- String vector with the Primary Key properties names.
static std::vector<std::string> Utils::getUKPropertiesNames |
( |
te::da::UniqueKey * |
uk | ) |
|
|
static |
Getting Unique Key Properties Names.
- Parameters
-
- Returns
- String vector with the Unique Key properties names.
static bool Utils::loadModules |
( |
std::string & |
errorMessage | ) |
|
|
static |
Load Terralib modules.
- Parameters
-
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/tools/dsinfo/core/Utils.h