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

Search Toolkit Book for CResultZBtSrcX

+ Collaboration diagram for CResultZBtSrcX:

Public Types

enum  { kMax_UncomprSize = 1024*1024 , kMax_ComprSize = 1024*1024 }

Public Member Functions

 CResultZBtSrcX (CByteSourceReader *reader)
 ~CResultZBtSrcX (void)
size_t Read (char *buffer, size_t bufferLength)
void ReadLength (void)
size_t x_Read (char *buffer, size_t bufferLength)

Private Member Functions

 CResultZBtSrcX (const CResultZBtSrcX &)
const CResultZBtSrcXoperator= (const CResultZBtSrcX &)

Private Attributes

CRef< CByteSourceReaderm_Src
CDynamicCharArray m_Buffer
size_t m_BufferPos
size_t m_BufferEnd
CZipCompression m_Decompressor
CDynamicCharArray m_Compressed

Detailed Description

Definition at line 82 of file reader_zlib.cpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 93 of file reader_zlib.cpp.

Constructor & Destructor Documentation

◆ CResultZBtSrcX() [1/2]

CResultZBtSrcX::CResultZBtSrcX ( CByteSourceReader reader)

◆ ~CResultZBtSrcX()

CResultZBtSrcX::~CResultZBtSrcX ( void  )

Definition at line 119 of file reader_zlib.cpp.

◆ CResultZBtSrcX() [2/2]

CResultZBtSrcX::CResultZBtSrcX ( const CResultZBtSrcX )

Member Function Documentation

◆ operator=()

const CResultZBtSrcX& CResultZBtSrcX::operator= ( const CResultZBtSrcX )

◆ Read()

size_t CResultZBtSrcX::Read ( char *  buffer,
size_t  bufferLength 

◆ ReadLength()

void CResultZBtSrcX::ReadLength ( void  )

◆ x_Read()

size_t CResultZBtSrcX::x_Read ( char *  buffer,
size_t  bufferLength 

Definition at line 124 of file reader_zlib.cpp.

References buffer, cnt, m_Src, and CByteSourceReader::Read().

Referenced by ReadLength().

Member Data Documentation

◆ m_Buffer

CDynamicCharArray CResultZBtSrcX::m_Buffer

Definition at line 103 of file reader_zlib.cpp.

Referenced by Read(), and ReadLength().

◆ m_BufferEnd

size_t CResultZBtSrcX::m_BufferEnd

Definition at line 105 of file reader_zlib.cpp.

Referenced by Read(), and ReadLength().

◆ m_BufferPos

size_t CResultZBtSrcX::m_BufferPos

Definition at line 104 of file reader_zlib.cpp.

Referenced by Read(), and ReadLength().

◆ m_Compressed

CDynamicCharArray CResultZBtSrcX::m_Compressed

Definition at line 107 of file reader_zlib.cpp.

Referenced by ReadLength().

◆ m_Decompressor

CZipCompression CResultZBtSrcX::m_Decompressor

Definition at line 106 of file reader_zlib.cpp.

Referenced by CResultZBtSrcX(), and ReadLength().

◆ m_Src

CRef<CByteSourceReader> CResultZBtSrcX::m_Src

Definition at line 102 of file reader_zlib.cpp.

Referenced by x_Read().

The documentation for this class was generated from the following file:
Modified on Fri Mar 01 10:08:35 2024 by rev. 669887