Public Types | |
typedef unsigned long | DataSize |
typedef unsigned long | BufferCount |
Public Member Functions | |
CAccumulationBuffer (DataSize maxSize) | |
CAccumulationBuffer (const CAccumulationBuffer &rhs) | |
virtual | ~CAccumulationBuffer () |
CAccumulationBuffer & | operator= (const CAccumulationBuffer &rhs) |
void | SetMaxSize (DataSize maxSize) |
void * | PrepareData (JetByteTools::IO::CSmartBuffer &buffer) |
void * | PrepareData () |
void * | GetData () const |
DataSize | GetDataSize () const |
void | UseData (DataSize bytesUsed) |
BufferCount | BuffersConsumed () |
void | Accumulate () |
BufferCount | Purge () |
typedef unsigned long DataSize |
typedef unsigned long BufferCount |
CAccumulationBuffer | ( | DataSize | maxSize | ) | [explicit] |
CAccumulationBuffer | ( | const CAccumulationBuffer & | rhs | ) |
virtual ~CAccumulationBuffer | ( | ) | [virtual] |
CAccumulationBuffer& operator= | ( | const CAccumulationBuffer & | rhs | ) |
void SetMaxSize | ( | DataSize | maxSize | ) |
void* PrepareData | ( | JetByteTools::IO::CSmartBuffer & | buffer | ) |
void * PrepareData | ( | ) |
void * GetData | ( | ) | const |
CAccumulationBuffer::DataSize GetDataSize | ( | ) | const |
void UseData | ( | DataSize | bytesUsed | ) |
CAccumulationBuffer::BufferCount BuffersConsumed | ( | ) |
void Accumulate | ( | ) |
CAccumulationBuffer::BufferCount Purge | ( | ) |