DSIConnProperties Class Reference

DSIConnProperties holds the definition of all the connection properties that DSI supports. More...

List of all members.

Public Member Functions

const std::vector
< DSIConnPropertyKey > & 
GetPropertyList () const
 Gets the property list.
bool MapConnAttrKeyToDSIConnPropKey (const SQLINTEGER in_odbcAttrKey, DSIConnPropertyKey &out_dsiPropKey)
 Maps the given ODBC attribute key to the corresponding DSI connection property key.
bool MapConnInfoKeyToDSIConnPropKey (const SQLINTEGER in_odbcAttrKey, DSIConnPropertyKey &out_dsiPropKey)
 Maps the given ODBC attribute key to the corresponding DSI connection info key.

Static Public Member Functions

static DSIConnPropertiesGetInstance ()
 Singleton accessor.

Protected Member Functions

 DSIConnProperties ()
 Constructor.

Detailed Description

DSIConnProperties holds the definition of all the connection properties that DSI supports.

It also provides a mapping service between ODBC connection attribute keys and DSI connection property keys.


Constructor & Destructor Documentation

DSIConnProperties (  )  [protected]

Constructor.


Member Function Documentation

static DSIConnProperties* GetInstance (  )  [static]

Singleton accessor.

Returns:
DSIConnProperties singleton. (NOT OWN)
const std::vector<DSIConnPropertyKey>& GetPropertyList (  )  const

Gets the property list.

Returns:
Returns a references to the list of connection properties.
bool MapConnAttrKeyToDSIConnPropKey ( const SQLINTEGER  in_odbcAttrKey,
DSIConnPropertyKey out_dsiPropKey 
)

Maps the given ODBC attribute key to the corresponding DSI connection property key.

Parameters:
in_odbcAttrKey ODBC connection attribute key.
out_dsiPropKey DSI connection property key.
Returns:
True if mapping succeeds; false otherwise.
bool MapConnInfoKeyToDSIConnPropKey ( const SQLINTEGER  in_odbcAttrKey,
DSIConnPropertyKey out_dsiPropKey 
)

Maps the given ODBC attribute key to the corresponding DSI connection info key.

Parameters:
in_odbcAttrKey ODBC connection attribute key.
out_dsiPropKey DSI connection property key.
Returns:
True if mapping succeeds; false otherwise.

The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:15 2017 for SimbaEngine 10.1.3.1011 by simba