creaImageIO_lib
|
#include <CppSQLite3.h>
Public Member Functions | |
CppSQLite3Binary () | |
~CppSQLite3Binary () | |
void | setBinary (const unsigned char *pBuf, int nLen) |
void | setEncoded (const unsigned char *pBuf) |
const unsigned char * | getEncoded () |
const unsigned char * | getBinary () |
int | getBinaryLength () |
unsigned char * | allocBuffer (int nLen) |
void | clear () |
Private Attributes | |
unsigned char * | mpBuf |
int | mnBinaryLen |
int | mnBufferLen |
int | mnEncodedLen |
bool | mbEncoded |
Definition at line 169 of file CppSQLite3.h.
CppSQLite3Binary::CppSQLite3Binary | ( | ) |
Definition at line 353 of file CppSQLite3.cpp.
CppSQLite3Binary::~CppSQLite3Binary | ( | ) |
Definition at line 373 of file CppSQLite3.cpp.
References clear().
unsigned char * CppSQLite3Binary::allocBuffer | ( | int | nLen | ) |
Definition at line 527 of file CppSQLite3.cpp.
References clear(), CPPSQLITE_ERROR, DONT_DELETE_MSG, mbEncoded, mnBinaryLen, mnBufferLen, and mpBuf.
Referenced by setBinary().
void CppSQLite3Binary::clear | ( | ) |
Definition at line 577 of file CppSQLite3.cpp.
References mnBinaryLen, mnBufferLen, and mpBuf.
Referenced by allocBuffer(), setEncoded(), and ~CppSQLite3Binary().
const unsigned char * CppSQLite3Binary::getBinary | ( | ) |
Definition at line 471 of file CppSQLite3.cpp.
References CPPSQLITE_ERROR, DONT_DELETE_MSG, mbEncoded, mnBinaryLen, mpBuf, and sqlite3_decode_binary().
Referenced by getBinaryLength().
int CppSQLite3Binary::getBinaryLength | ( | ) |
Definition at line 513 of file CppSQLite3.cpp.
References getBinary(), and mnBinaryLen.
const unsigned char * CppSQLite3Binary::getEncoded | ( | ) |
Definition at line 441 of file CppSQLite3.cpp.
References mbEncoded, mnBinaryLen, mnEncodedLen, mpBuf, and sqlite3_encode_binary().
void CppSQLite3Binary::setBinary | ( | const unsigned char * | pBuf, |
int | nLen | ||
) |
Definition at line 385 of file CppSQLite3.cpp.
References allocBuffer(), and mpBuf.
void CppSQLite3Binary::setEncoded | ( | const unsigned char * | pBuf | ) |
Definition at line 399 of file CppSQLite3.cpp.
References clear(), CPPSQLITE_ERROR, DONT_DELETE_MSG, mbEncoded, mnBufferLen, mnEncodedLen, and mpBuf.
|
private |
Definition at line 221 of file CppSQLite3.h.
Referenced by allocBuffer(), getBinary(), getEncoded(), and setEncoded().
|
private |
Definition at line 215 of file CppSQLite3.h.
Referenced by allocBuffer(), clear(), getBinary(), getBinaryLength(), and getEncoded().
|
private |
Definition at line 217 of file CppSQLite3.h.
Referenced by allocBuffer(), clear(), and setEncoded().
|
private |
Definition at line 219 of file CppSQLite3.h.
Referenced by getEncoded(), and setEncoded().
|
private |
Definition at line 213 of file CppSQLite3.h.
Referenced by allocBuffer(), clear(), getBinary(), getEncoded(), setBinary(), and setEncoded().