Abstract Factory class whose implementations are responsible to provide all runtime provider specific objects needed to support database related operations. More...
#include <DatabaseProvider.h>

Public Member Functions | |
| virtual | ~DatabaseProviderFactory () | 
| virtual Database * | createDatabase ()=0 | 
| Creates the provider specific database.  More... | |
| virtual DataParameterBase * | createParameter (DataType::DATA_TYPE paramType, DataParameterBase::PARAMETER_DIRECTION paramDirection)=0 | 
| Creates a databse provider specific parameter.  More... | |
| DataParameterBase * | createParameter (DataType::DATA_TYPE paramType) | 
| virtual DataColumnBase * | createColumn (DataType::DATA_TYPE columnType, unsigned int dimension, int scale, const string &name)=0 | 
| Creates a databse provider specific column.  More... | |
| DataColumnBase * | createColumn (DataType::DATA_TYPE columnType, unsigned int dimension, int scale) | 
| string | name () const | 
| Getter method of the provider name.  More... | |
| virtual string | getParamPlaceholder (const unsigned int i) const =0 | 
| Returns a string representing a sql statement parameter placeholder.  More... | |
| virtual string | getParamPlaceholder (const string ¶mname) const =0 | 
| Returns a string representing a sql statement parameter placeholder.  More... | |
| virtual string | getTrimFunc (const string &value) const =0 | 
| Returns sql statement call to a provider specific trim function.  More... | |
Protected Member Functions | |
| DatabaseProviderFactory (const string &providername) | |
Protected Attributes | |
| string | m_Name | 
Abstract Factory class whose implementations are responsible to provide all runtime provider specific objects needed to support database related operations.
      
  | 
  inlineexplicitprotected | 
      
  | 
  inlinevirtual | 
      
  | 
  pure virtual | 
Creates a databse provider specific column.
| columnType | Type of the column. | 
| dimension | The dimension. | 
| scale | The scale. | 
| name | The name. | 
Implemented in FinTP::OracleDatabaseFactory, and FinTP::ODBCDatabaseFactory.
      
  | 
  inline | 
      
  | 
  pure virtual | 
Creates the provider specific database.
Implemented in FinTP::OracleDatabaseFactory, FinTP::ODBCDatabaseFactory, FinTP::InformixDatabaseFactory, FinTP::PostgresDatabaseFactory, FinTP::SqlServerDatabaseFactory, and FinTP::Db2DatabaseFactory.
      
  | 
  pure virtual | 
Creates a databse provider specific parameter.
| paramType | Type of the parameter. | 
| paramDirection | The parameter direction. | 
Implemented in FinTP::OracleDatabaseFactory, and FinTP::ODBCDatabaseFactory.
      
  | 
  inline | 
      
  | 
  pure virtual | 
Returns a string representing a sql statement parameter placeholder.
| i | The bind parameter index. | 
Implemented in FinTP::OracleDatabaseFactory, and FinTP::ODBCDatabaseFactory.
      
  | 
  pure virtual | 
Returns a string representing a sql statement parameter placeholder.
| paramname | The bind parameter name. | 
Implemented in FinTP::OracleDatabaseFactory, and FinTP::ODBCDatabaseFactory.
      
  | 
  pure virtual | 
Returns sql statement call to a provider specific trim function.
| value | The string used in the trim function call. | 
Implemented in FinTP::OracleDatabaseFactory, and FinTP::ODBCDatabaseFactory.
      
  | 
  inline | 
Getter method of the provider name.
      
  | 
  protected |