BazisLib::CMultiReadBuffer Class Reference

#include <bzsbuf.h>

Inherits BazisLib::CBuffer.

Collaboration diagram for BazisLib::CMultiReadBuffer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CMultiReadBuffer (unsigned initialSize=0)
bool Preallocate (unsigned size)
unsigned AppendData (const void *pData, unsigned size)
void * AppendData (size_t size)
unsigned ReplaceData (const void *pData, unsigned size)
void * ReplaceData (unsigned size)
size_t GetReadMaximum ()
size_t ReadData (void *pBuffer, size_t size)
const void * GetReadPointer ()
void Rebase ()
size_t GetSize () const
void RollbackWrite (unsigned size)
void Reset ()
void * DetachBuffer ()

Private Attributes

size_t m_ReadPointer


Constructor & Destructor Documentation

BazisLib::CMultiReadBuffer::CMultiReadBuffer ( unsigned  initialSize = 0  )  [inline]


Member Function Documentation

void* BazisLib::CMultiReadBuffer::AppendData ( size_t  size  )  [inline]

Here is the call graph for this function:

unsigned BazisLib::CMultiReadBuffer::AppendData ( const void *  pData,
unsigned  size 
) [inline]

Here is the call graph for this function:

void* BazisLib::CMultiReadBuffer::DetachBuffer (  )  [inline]

Reimplemented from BazisLib::CBuffer.

size_t BazisLib::CMultiReadBuffer::GetReadMaximum (  )  [inline]

Here is the call graph for this function:

const void* BazisLib::CMultiReadBuffer::GetReadPointer (  )  [inline]

Here is the call graph for this function:

size_t BazisLib::CMultiReadBuffer::GetSize (  )  const [inline]

Reimplemented from BazisLib::CBuffer.

bool BazisLib::CMultiReadBuffer::Preallocate ( unsigned  size  )  [inline]

Here is the call graph for this function:

size_t BazisLib::CMultiReadBuffer::ReadData ( void *  pBuffer,
size_t  size 
) [inline]

Here is the call graph for this function:

void BazisLib::CMultiReadBuffer::Rebase (  )  [inline]

Here is the call graph for this function:

void* BazisLib::CMultiReadBuffer::ReplaceData ( unsigned  size  )  [inline]

Here is the call graph for this function:

unsigned BazisLib::CMultiReadBuffer::ReplaceData ( const void *  pData,
unsigned  size 
) [inline]

Here is the call graph for this function:

void BazisLib::CMultiReadBuffer::Reset (  )  [inline]

Reimplemented from BazisLib::CBuffer.

void BazisLib::CMultiReadBuffer::RollbackWrite ( unsigned  size  )  [inline]

Here is the call graph for this function:


Member Data Documentation


The documentation for this class was generated from the following file:
SourceForge.net Logo