145 |
unsigned long ulStartPos; /* actual position in file where chunk (without header) starts */ |
unsigned long ulStartPos; /* actual position in file where chunk (without header) starts */ |
146 |
unsigned long ulPos; /* # of bytes from ulStartPos */ |
unsigned long ulPos; /* # of bytes from ulStartPos */ |
147 |
uint8_t* pChunkData; |
uint8_t* pChunkData; |
148 |
|
unsigned long ulChunkDataSize; |
149 |
|
|
150 |
Chunk(File* pFile); |
Chunk(File* pFile); |
151 |
Chunk(File* pFile, List* pParent, uint32_t uiChunkID, uint uiBodySize); |
Chunk(File* pFile, List* pParent, uint32_t uiChunkID, uint uiBodySize); |
224 |
void ReadHeader(unsigned long fPos); |
void ReadHeader(unsigned long fPos); |
225 |
void WriteHeader(unsigned long fPos); |
void WriteHeader(unsigned long fPos); |
226 |
void LoadSubChunks(); |
void LoadSubChunks(); |
227 |
|
void LoadSubChunksRecursively(); |
228 |
virtual unsigned long WriteChunk(unsigned long ulWritePos, unsigned long ulCurrentDataOffset); |
virtual unsigned long WriteChunk(unsigned long ulWritePos, unsigned long ulCurrentDataOffset); |
229 |
virtual void __resetPos(); ///< Sets List Chunk's read/write position to zero and causes all sub chunks to do the same. |
virtual void __resetPos(); ///< Sets List Chunk's read/write position to zero and causes all sub chunks to do the same. |
230 |
}; |
}; |