#include <ChunkRepr.h>
sw::ChunkRepr::ChunkRepr |
( |
ImplHCF * |
hcf, |
|
|
ChunkReprPtr & |
parent |
|
) |
| |
|
private |
sw::ChunkRepr::ChunkRepr |
( |
ImplHCF * |
hcf, |
|
|
ChunkReprPtr & |
parent, |
|
|
Size |
fileOffset |
|
) |
| |
|
private |
void sw::ChunkRepr::AddNextChunk |
( |
ChunkReprPtr & |
newChunk | ) |
|
bool sw::ChunkRepr::CanAddAttribute |
( |
| ) |
const |
|
private |
bool sw::ChunkRepr::CanCreateChunk |
( |
| ) |
const |
|
private |
bool sw::ChunkRepr::CanFillData |
( |
| ) |
const |
|
private |
bool sw::ChunkRepr::CanLoadData |
( |
| ) |
const |
|
private |
bool sw::ChunkRepr::CheckValidity |
( |
| ) |
const |
ChunkReprPtr sw::ChunkRepr::Create |
( |
ImplHCF * |
hcf, |
|
|
ChunkReprPtr |
parent |
|
) |
| |
|
static |
Chunk sw::ChunkRepr::CreateChunk |
( |
| ) |
|
ChunkReprPtr sw::ChunkRepr::CreateFromFile |
( |
ImplHCF * |
hcf, |
|
|
ChunkReprPtr |
parent, |
|
|
Size |
fileOffset |
|
) |
| |
|
static |
bool sw::ChunkRepr::Fill |
( |
const DataPtr |
data, |
|
|
Size |
dataSize |
|
) |
| |
Chunk sw::ChunkRepr::FirstChild |
( |
| ) |
|
Gets first child chunk of this chunk.
- Returns
- Returns invalid chunk if there's no children.
sw::ChunkRepr::FRIEND_CLASS_TESTER |
( |
HCF |
| ) |
|
|
private |
sw::ChunkRepr::FRIEND_CLASS_TESTER |
( |
ChunkRepr |
| ) |
|
|
private |
bool sw::ChunkRepr::HasChildren |
( |
| ) |
const |
Check if you should call FirstChild or AccessData.
void sw::ChunkRepr::LoadHeader |
( |
Size |
revertOffset | ) |
|
|
private |
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.
Returns chunk's data and transfers ownership to caller.
void sw::ChunkRepr::UpdateHeader |
( |
| ) |
|
|
private |
Updates header in file using current info from m_header field.
void sw::ChunkRepr::WriteHeader |
( |
Size |
revertOffset | ) |
|
|
private |
Size sw::ChunkRepr::m_absolutOffset |
|
private |
Offset from beginning of file.
ChunkReprPtr sw::ChunkRepr::m_childChunk |
|
private |
AttributeReprPtr sw::ChunkRepr::m_firstAttrib |
|
private |
ChunkReprPtr sw::ChunkRepr::m_nextChunk |
|
private |
Next chunk on the same nesting level.
ChunkReprWPtr sw::ChunkRepr::m_parent |
|
private |
The documentation for this class was generated from the following files:
- D:/ProgramyVS/SWLibraries/swCommonLib/HierarchicalChunkedFormat/Internal/ChunkRepr.h
- D:/ProgramyVS/SWLibraries/swCommonLib/HierarchicalChunkedFormat/Internal/ChunkRepr.cpp