Public Member Functions | Private Attributes

ASql::MySQL::TypedConversion< Data::Wtext > Struct Template Reference

Handle retrieval and code conversion of utf-8 textual data. More...

#include <mysql.hpp>

Inheritance diagram for ASql::MySQL::TypedConversion< Data::Wtext >:
ASql::MySQL::TypedConversion< Data::Blob > ASql::Data::Conversion

List of all members.

Public Member Functions

 TypedConversion (int column_, MYSQL_STMT *const &statement_, void *&buffer_)
void convertResult ()
 Retrieve the result and code convert it to a Data::Wtext pointed to by external.
void convertParam ()
 Code convert the Data::Wtext pointed to by external into buffer.

Private Attributes

std::vector< char > inputBuffer
 Conversion buffer.

Detailed Description

template<>
struct ASql::MySQL::TypedConversion< Data::Wtext >

Handle retrieval and code conversion of utf-8 textual data.

Definition at line 481 of file mysql.hpp.


Constructor & Destructor Documentation

ASql::MySQL::TypedConversion< Data::Wtext >::TypedConversion ( int  column_,
MYSQL_STMT *const &  statement_,
void *&  buffer_ 
) [inline]
Parameters:
[in]column_Associated column/parameter number.
[in]statement_Reference to MySQL C API statement object.
[out]buffer_Reference to associated MySQL bind object buffer pointer.

Definition at line 488 of file mysql.hpp.


Member Function Documentation

void ASql::MySQL::TypedConversion< Data::Wtext >::convertParam (  ) [virtual]

Code convert the Data::Wtext pointed to by external into buffer.

Reimplemented from ASql::MySQL::TypedConversion< Data::Blob >.

void ASql::MySQL::TypedConversion< Data::Wtext >::convertResult (  ) [virtual]

Retrieve the result and code convert it to a Data::Wtext pointed to by external.

Reimplemented from ASql::MySQL::TypedConversion< Data::Blob >.


Member Data Documentation

std::vector<char> ASql::MySQL::TypedConversion< Data::Wtext >::inputBuffer [private]

Conversion buffer.

Definition at line 501 of file mysql.hpp.


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