Class with help methods for the application. More...
#include <Utils.h>
Static Public Member Functions | |
| static te::da::DataSet * | getDataSet (te::da::DataSource *dataSource, std::string dataSetName) | 
| static bool | getDataSource (std::string dsType, std::string connStr, te::da::DataSource *&dataSource, std::string &errorMessage) | 
| Method to connect with a Data Source.  More... | |
| static std::vector< std::string > | getFKPropertiesNames (te::da::ForeignKey *fk) | 
| Getting Foreign Key Properties Names.  More... | |
| static std::vector< std::string > | getIdxPropertiesNames (te::da::Index *idx) | 
| Getting Index Properties Names.  More... | |
| static std::string | getIdxTypeName (int id) | 
| static std::vector< std::string > | getPKPropertiesNames (te::da::PrimaryKey *pk) | 
| Getting Primary Key Properties Names.  More... | |
| static std::vector< std::string > | getUKPropertiesNames (te::da::UniqueKey *uk) | 
| Getting Unique Key Properties Names.  More... | |
| static bool | loadModules (std::string &errorMessage) | 
| Load Terralib modules.  More... | |
      
  | 
  static | 
Definition at line 97 of file Utils.cpp.
References te::da::DataSourceTransactor::getDataSet(), and te::da::DataSource::getTransactor().
Referenced by DSInfo::getDataSetInfo().
      
  | 
  static | 
Method to connect with a Data Source.
| dsType | Dataq Source Type | 
| dataSource | Return DataSource | 
| errorMessage | String that receive methods errors description | 
Definition at line 4 of file Utils.cpp.
References te::da::DataSourceFactory::make(), and te::da::DataSource::open().
Referenced by DSInfo::init().
      
  | 
  static | 
Getting Foreign Key Properties Names.
| fk | Foreign Key target | 
Definition at line 55 of file Utils.cpp.
References te::da::ForeignKey::getProperties().
Referenced by DSInfo::getForeignKeyInfo().
      
  | 
  static | 
Getting Index Properties Names.
| idx | Index Key target | 
Definition at line 83 of file Utils.cpp.
References te::da::Index::getProperties().
Referenced by DSInfo::getIndexesKeyInfo().
      
  | 
  static | 
Definition at line 27 of file Utils.cpp.
Referenced by DSInfo::getIndexesKeyInfo().
      
  | 
  static | 
Getting Primary Key Properties Names.
| pk | Primary Key target | 
Definition at line 41 of file Utils.cpp.
References te::da::PrimaryKey::getProperties().
Referenced by DSInfo::getPrimaryKeyInfo().
      
  | 
  static | 
Getting Unique Key Properties Names.
| uk | Unique Key target | 
Definition at line 69 of file Utils.cpp.
References te::da::UniqueKey::getProperties().
Referenced by DSInfo::getUniqueKeyInfo().
      
  | 
  static | 
Load Terralib modules.
| errorMessage | String that receive methods errors description | 
Definition at line 110 of file Utils.cpp.
References te::common::Singleton< PluginManager >::getInstance(), te::plugin::PluginInfo::m_description, and te::plugin::PluginInfo::m_name.
Referenced by DSInfo::getDataSourceParameters(), and DSInfo::init().