|
static ChunkReprPtr | CreateFromFile (ImplHCF *hcf, ChunkReprPtr parent, Size fileOffset) |
|
static ChunkReprPtr | Create (ImplHCF *hcf, ChunkReprPtr parent) |
|
|
| FRIEND_CLASS_TESTER (HCF) |
|
| FRIEND_CLASS_TESTER (ChunkRepr) |
|
| ChunkRepr (ImplHCF *hcf, ChunkReprPtr &parent) |
| Write only constructor.
|
|
| ChunkRepr (ImplHCF *hcf, ChunkReprPtr &parent, Size fileOffset) |
| Read constructor.
|
|
bool | CanAddAttribute () const |
|
bool | CanCreateChunk () const |
|
bool | CanFillData () const |
|
bool | CanLoadData () const |
|
void | WriteHeader (Size revertOffset) |
|
void | LoadHeader (Size revertOffset) |
|
void | UpdateHeader () |
| Updates header in file using current info from m_header field.
|
|
DataUPack | LoadData () |
|
Chunk sw::ChunkRepr::FirstChild |
( |
| ) |
|
Gets first child chunk of this chunk.
- Returns
- Returns invalid chunk if there's no children.
Chunk sw::ChunkRepr::NextChunk |
( |
| ) |
|
Gets next chunk on the same nesting level.
- Returns
- Returns invalid chunk if there's no next chunk.
Chunk sw::ChunkRepr::ParentChunk |
( |
| ) |
|
Get Chunks parent.
- Returns
- Returned chunk can be invalid if this chunk is invalid or there's no parent.
The documentation for this class was generated from the following files:
- HierarchicalChunkedFormat/Internal/ChunkRepr.h
- HierarchicalChunkedFormat/Internal/ChunkRepr.cpp