Store informations used by the Database instances to connect.  
 More...
#include <ConnectionString.h>
Store informations used by the Database instances to connect. 
 
  
  
      
        
          | ConnectionString::ConnectionString  | 
          ( | 
          const string &  | 
          dbName = "",  | 
         
        
           | 
           | 
          const string &  | 
          userName = "",  | 
         
        
           | 
           | 
          const string &  | 
          userPassword = ""  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
explicit   | 
  
 
Constructor. 
- Parameters
 - 
  
    | dbName | type string name of the database.  | 
    | userName | type string name of the user.  | 
    | userPassword | type string the user password.  | 
  
   
 
 
  
  
      
        
          | string FinTP::ConnectionString::getDatabaseName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | string FinTP::ConnectionString::getUserName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | string FinTP::ConnectionString::getUserPassword  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | bool FinTP::ConnectionString::isValid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Query if this object is valid. 
- Returns
 - true if every storage member had been set 
 
 
 
Copy .ctor. 
Copy connection information from source parameter 
- Parameters
 - 
  
    | source | type ConnectionString. Source instance containing new connection information  | 
  
   
- Returns
 - A copy of this object. 
 
 
 
  
  
      
        
          | void FinTP::ConnectionString::setDatabaseName  | 
          ( | 
          const string &  | 
          databaseName | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void FinTP::ConnectionString::setUserName  | 
          ( | 
          const string &  | 
          userName | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void FinTP::ConnectionString::setUserPassword  | 
          ( | 
          const string &  | 
          userPassword | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | string FinTP::ConnectionString::m_DatabaseName | 
         
       
   | 
  
private   | 
  
 
Database name/id to connect to, as defined by DBMS. 
 
 
  
  
      
        
          | string FinTP::ConnectionString::m_UserName | 
         
       
   | 
  
private   | 
  
 
DBMS defined user, whose privileges will grant DBMS resources access. 
 
 
  
  
      
        
          | string FinTP::ConnectionString::m_UserPassword | 
         
       
   | 
  
private   | 
  
 
user password defined in DBMS 
 
 
The documentation for this class was generated from the following files: