#include <DataChunk.h>
Public Member Functions | |
cDataChunk () | |
virtual void | Clear () |
uint32_t | GetBuffFree () |
uint32_t | GetBuffSize () |
uint8_t * | GetDataPtr () |
uint32_t | GetDataSize () |
bool | PopFront (uint32_t size) |
bool | PushBack (uint8_t *d1, uint32_t d1Size, uint8_t *d2=NULL, uint32_t d2Size=0) |
int32_t | ReadFromFile (cISLogFileBase *pFile) |
void | SetName (const char name[4]) |
int32_t | WriteToFile (cISLogFileBase *pFile, int groupNumber=0) |
virtual | ~cDataChunk () |
Public Attributes | |
sChunkHeader | m_hdr |
Protected Member Functions | |
virtual int32_t | GetHeaderSize () |
virtual int32_t | ReadAdditionalChunkHeader (cISLogFileBase *pFile) |
virtual int32_t | WriteAdditionalChunkHeader (cISLogFileBase *pFile) |
Private Attributes | |
uint8_t | m_buffHead [DEFAULT_CHUNK_DATA_SIZE] |
uint8_t * | m_buffTail |
uint8_t * | m_dataHead |
uint8_t * | m_dataTail |
Definition at line 76 of file DataChunk.h.
cDataChunk::cDataChunk | ( | ) |
|
virtual |
Definition at line 38 of file DataChunk.cpp.
|
virtual |
< Byte size of data in this chunk
< Bitwise inverse of m_Size
Reimplemented in cSortedDataChunk.
Definition at line 110 of file DataChunk.cpp.
|
inline |
Definition at line 83 of file DataChunk.h.
|
inline |
Definition at line 82 of file DataChunk.h.
uint8_t * cDataChunk::GetDataPtr | ( | ) |
Definition at line 85 of file DataChunk.cpp.
|
inline |
Definition at line 84 of file DataChunk.h.
|
protectedvirtual |
Reimplemented in cSortedDataChunk.
Definition at line 271 of file DataChunk.cpp.
bool cDataChunk::PopFront | ( | uint32_t | size | ) |
Definition at line 91 of file DataChunk.cpp.
bool cDataChunk::PushBack | ( | uint8_t * | d1, |
uint32_t | d1Size, | ||
uint8_t * | d2 = NULL , |
||
uint32_t | d2Size = 0 |
||
) |
Definition at line 59 of file DataChunk.cpp.
|
protectedvirtual |
Reimplemented in cSortedDataChunk.
Definition at line 265 of file DataChunk.cpp.
int32_t cDataChunk::ReadFromFile | ( | cISLogFileBase * | pFile | ) |
Definition at line 167 of file DataChunk.cpp.
void cDataChunk::SetName | ( | const char | name[4] | ) |
Definition at line 44 of file DataChunk.cpp.
|
protectedvirtual |
Reimplemented in cSortedDataChunk.
Definition at line 259 of file DataChunk.cpp.
int32_t cDataChunk::WriteToFile | ( | cISLogFileBase * | pFile, |
int | groupNumber = 0 |
||
) |
Definition at line 124 of file DataChunk.cpp.
|
private |
Definition at line 111 of file DataChunk.h.
|
private |
Definition at line 112 of file DataChunk.h.
|
private |
Definition at line 113 of file DataChunk.h.
|
private |
Definition at line 114 of file DataChunk.h.
sChunkHeader cDataChunk::m_hdr |
Definition at line 94 of file DataChunk.h.