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

Search Toolkit Book for CBDB_MultiRowBuffer

Multirow buffer for reading many rows in one call. More...

#include <db/bdb/bdb_file.hpp>

+ Collaboration diagram for CBDB_MultiRowBuffer:

Public Member Functions

 CBDB_MultiRowBuffer (size_t buf_size)
 
 ~CBDB_MultiRowBuffer ()
 
const void * GetLastDataPtr () const
 Get data buffer pointer from last cursor read. More...
 
size_t GetLastDataLen () const
 Get BLOB length from last cursor read. More...
 

Protected Member Functions

void InitDBT ()
 
void MultipleInit ()
 

Protected Attributes

DBTm_Data_DBT
 Temp DBT for multiple fetch. More...
 
void * m_Buf
 Multiple row buffer. More...
 
size_t m_BufSize
 buffer size More...
 
void * m_BufPtr
 current buffer position More...
 
void * m_LastKey
 Last key pointer returned by DB_MULTIPLE_KEY_NEXT. More...
 
void * m_LastData
 Last data pointer returned by DB_MULTIPLE_KEY_NEXT. More...
 
size_t m_LastKeyLen
 
size_t m_LastDataLen
 

Private Member Functions

 CBDB_MultiRowBuffer (const CBDB_MultiRowBuffer &)
 
CBDB_MultiRowBufferoperator= (const CBDB_MultiRowBuffer &)
 

Friends

class CBDB_File
 

Detailed Description

Multirow buffer for reading many rows in one call.

Definition at line 409 of file bdb_file.hpp.


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