NCBI C++ ToolKit
|
Search Toolkit Book for CDB_Stream
#include <dbapi/driver/types.hpp>
Public Member Functions | |
virtual | ~CDB_Stream () |
virtual void | AssignNULL () |
CDB_Stream & | Assign (const CDB_Stream &v) |
virtual size_t | Read (void *buff, size_t nof_bytes) |
virtual size_t | Peek (void *buff, size_t nof_bytes) const |
virtual size_t | PeekAt (void *buff, size_t start, size_t nof_bytes) const |
virtual size_t | Append (const void *buff, size_t nof_bytes) |
virtual void | Truncate (size_t nof_bytes=kMax_Int) |
virtual bool | MoveTo (size_t byte_number) |
virtual size_t | Size () const |
virtual void | AssignValue (const CDB_Object &v) |
Public Member Functions inherited from CDB_Object | |
CDB_Object (bool is_null=true) | |
virtual | ~CDB_Object () |
bool | IsNULL () const |
virtual EDB_Type | GetType () const =0 |
virtual CDB_Object * | Clone () const =0 |
virtual CDB_Object * | ShallowClone () const |
string | GetLogString (void) const |
Protected Member Functions | |
CDB_Stream () | |
CDB_Stream (const CDB_Stream &s, bool share_data=false) | |
void | x_SetEncoding (EBulkEnc e) |
size_t | x_Append (const void *buff, size_t nof_bytes) |
size_t | x_Append (const CTempString &s, EEncoding enc) |
size_t | x_Append (const TStringUCS2 &s, size_t l=TStringUCS2::npos) |
Protected Member Functions inherited from CDB_Object | |
void | SetNULL (bool flag=true) |
Protected Attributes | |
EBulkEnc | m_Encoding |
Private Attributes | |
CMemStore * | m_Store |
Additional Inherited Members | |
Static Public Member Functions inherited from CDB_Object | |
static CDB_Object * | Create (EDB_Type type, size_t size=1) |
static const char * | GetTypeName (EDB_Type db_type, bool throw_on_unknown=true) |
static EBlobType | GetBlobType (EDB_Type db_type) |
static bool | IsBlobType (EDB_Type db_type) |