|
fastcgi++
|
Handle retrieval and code conversion of utf-8 textual data. More...
#include <mysql.hpp>
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. | |
| void * | getPointer () |
| Get a pointer to data chunk the MySQL library should write to. In this case, it won't be writing. | |
Public Attributes | |
| enum_field_types | bufferType |
| &MySQL buffer type (MYSQL_TYPE_BLOB or MYSQL_TYPE_STRING) | |
| unsigned long | length |
| Actual length of field. | |
| void * | external |
| Pointer to standard data type. | |
Protected Member Functions | |
| void | grabIt (Data::Blob &data) |
| Retrieve data from the query into the passed vector. | |
Protected Attributes | |
| void *& | buffer |
| Reference to associated MySQL bind object buffer pointer. | |
| int | column |
| Associated column/parameter number. | |
| MYSQL_STMT *const & | statement |
| Reference to associated MySQL C API statement object. | |
Private Attributes | |
| std::vector< char > | inputBuffer |
| Conversion buffer. | |
Handle retrieval and code conversion of utf-8 textual data.
|
inline |
|
virtual |
Code convert the Data::Wtext pointed to by external into buffer.
Reimplemented from ASql::MySQL::TypedConversion< Data::Blob >.
|
virtual |
Retrieve the result and code convert it to a Data::Wtext pointed to by external.
Reimplemented from ASql::MySQL::TypedConversion< Data::Blob >.
|
inlinevirtualinherited |
Get a pointer to data chunk the MySQL library should write to. In this case, it won't be writing.
Implements ASql::Data::Conversion.
|
protectedinherited |
Retrieve data from the query into the passed vector.
| [out] | data | Vector to dump the data into. Size will be adjusted. |
|
protectedinherited |
|
inherited |
|
protectedinherited |
|
inherited |
Pointer to standard data type.
Definition at line 705 of file data.hpp.
Referenced by ASql::MySQL::TypedConversion< Data::Blob >::convertResult().
|
private |
|
inherited |
|
protectedinherited |
1.8.1