SqlToCFunctor< TDW_SQL_GUID, TDW_C_CHAR > Class Template Reference

Declaration of the functor class that converters SQL GUID to C characters types. More...

List of all members.

Public Member Functions

simba_signed_native GetRetrievalLength (simba_signed_native)
 Return the maximum number of bytes to retrieve in order to fill-up a buffer of the given size.
void operator() (const void *in_source, simba_signed_native in_sourceLength, void *in_target, simba_signed_native &io_targetLength, IConversionListener &in_listener)
 Functor operator that does the actual conversion from the source to the target.
 SqlToCFunctor (const SqlTypeMetadata &in_sqlMetadata, const SqlCTypeMetadata &in_cMetadata)
 Public ====================================================================================.

Detailed Description

template<>
class Simba::Support::SqlToCFunctor< TDW_SQL_GUID, TDW_C_CHAR >

Declaration of the functor class that converters SQL GUID to C characters types.


Constructor & Destructor Documentation

SqlToCFunctor ( const SqlTypeMetadata in_sqlMetadata,
const SqlCTypeMetadata in_cMetadata 
) [inline]

Public ====================================================================================.

Constructor.

Parameters:
in_sqlMetadata Source metadata.
in_cMetadata Target metadata.

Member Function Documentation

simba_signed_native GetRetrievalLength ( simba_signed_native   )  [inline]

Return the maximum number of bytes to retrieve in order to fill-up a buffer of the given size.

Parameters:
in_cDataMaxLength Number of bytes available in the output buffer.
Returns:
Number of bytes to retrieve if positive, or -1 if all data should be retrieved.
void operator() ( const void *  in_source,
simba_signed_native  in_sourceLength,
void *  in_target,
simba_signed_native io_targetLength,
IConversionListener in_listener 
)

Functor operator that does the actual conversion from the source to the target.

Parameters:
in_source Source data pointer.
in_sourceLength Length in bytes of the source.
in_target Target data pointer.
io_targetLength In input, capacity of the target. In output, total size of the target before possible truncation.

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