NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
CDB_Stream Class Reference

Search Toolkit Book for CDB_Stream

#include <dbapi/driver/types.hpp>

+ Inheritance diagram for CDB_Stream:
+ Collaboration diagram for CDB_Stream:

Public Member Functions

virtual ~CDB_Stream ()
 
virtual void AssignNULL ()
 
CDB_StreamAssign (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_ObjectClone () const =0
 
virtual CDB_ObjectShallowClone () 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

CMemStorem_Store
 

Additional Inherited Members

- Static Public Member Functions inherited from CDB_Object
static CDB_ObjectCreate (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)
 

Detailed Description

Definition at line 865 of file types.hpp.


The documentation for this class was generated from the following files:
Modified on Wed Sep 04 15:02:23 2024 by modify_doxy.py rev. 669887