SqlTranslation Class Reference

Wrapper class to a SQL translation shared library. More...

List of all members.

Public Member Functions

BOOL SqlDataSourceToDriver (UDWORD in_option, SWORD in_sqlType, PTR in_valueIn, SDWORD in_valueInLength, PTR out_valueOut, SDWORD in_maximumOutLength, SDWORD *out_valueOutLength, UCHAR *out_errorMsg, SWORD in_maximumErrorMessageLength, SWORD *out_errorMsgLength)
 Call the SQLDataSourceToDriver function from the translation shared library.
BOOL SqlDriverToDataSource (UDWORD in_option, SWORD in_sqlType, PTR in_valueIn, SDWORD in_valueInLength, PTR out_valueOut, SDWORD in_maximumOutLength, SDWORD *out_valueOutLength, UCHAR *out_errorMsg, SWORD in_maximumErrorMessageLength, SWORD *out_errorMsgLength)
 Call the SQLDriverToDataSource function from the translation shared library.
 ~SqlTranslation ()
 Destructor.

Static Public Member Functions

static AutoPtr< SqlTranslationMakeNewSqlTranslationFromPath (const simba_wstring &in_path)
 Static factory methods for generating new SqlTranslation object based on the given shared library path.

Detailed Description

Wrapper class to a SQL translation shared library.


Constructor & Destructor Documentation

~SqlTranslation (  ) 

Destructor.


Member Function Documentation

static AutoPtr<SqlTranslation> MakeNewSqlTranslationFromPath ( const simba_wstring in_path  )  [static]

Static factory methods for generating new SqlTranslation object based on the given shared library path.

Parameters:
in_path Path to the shared library.
Returns:
AttributeData built based on content of buffer. (OWN)
BOOL SqlDataSourceToDriver ( UDWORD  in_option,
SWORD  in_sqlType,
PTR  in_valueIn,
SDWORD  in_valueInLength,
PTR  out_valueOut,
SDWORD  in_maximumOutLength,
SDWORD *  out_valueOutLength,
UCHAR *  out_errorMsg,
SWORD  in_maximumErrorMessageLength,
SWORD *  out_errorMsgLength 
) [inline]

Call the SQLDataSourceToDriver function from the translation shared library.

Parameters:
in_option Option to pass to the shared library.
in_sqlType SQL type of the input buffer.
in_valueIn Buffer containing the input value.
in_valueInLength Length of the input value.
out_valueOut Buffer that will receive the translated value.
in_maximumOutLength Maximum length of the output buffer.
out_valueOutLength Length of the output value once it has been generated.
out_errorMsg Buffer that will receive a possible error message.
in_maximumErrorMessageLength Maximum length of the error message buffer.
out_errorMsgLength Length of the error message if one is created.
BOOL SqlDriverToDataSource ( UDWORD  in_option,
SWORD  in_sqlType,
PTR  in_valueIn,
SDWORD  in_valueInLength,
PTR  out_valueOut,
SDWORD  in_maximumOutLength,
SDWORD *  out_valueOutLength,
UCHAR *  out_errorMsg,
SWORD  in_maximumErrorMessageLength,
SWORD *  out_errorMsgLength 
) [inline]

Call the SQLDriverToDataSource function from the translation shared library.

Parameters:
in_option Option to pass to the shared library.
in_sqlType SQL type of the input buffer.
in_valueIn Buffer containing the input value.
in_valueInLength Length of the input value.
out_valueOut Buffer that will receive the translated value.
in_maximumOutLength Maximum length of the output buffer.
out_valueOutLength Length of the output value once it has been generated.
out_errorMsg Buffer that will receive a possible error message.
in_maximumErrorMessageLength Maximum length of the error message buffer.
out_errorMsgLength Length of the error message if one is created.

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

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