Sleeping Wombat GUI
0.100
swGUI
|
#include <ImplHCF.h>
Public Member Functions | |
ImplHCF () | |
~ImplHCF () | |
Chunk | GetRootChunk () |
Chunk | CreateRootChunk () |
bool | OpenFile (const filesystem::Path &filePath, bool writeDirect) |
bool | WriteFile (const filesystem::Path &filePath) |
bool | LoadFile (const filesystem::Path &filePath, bool readOnly) |
Attribute | AddGlobalAttribute (AttributeType type, const DataPtr data, Size dataSize) |
Attribute | AddAttribute (AttributeReprPtr &list, AttributeType type, const DataPtr data, Size dataSize) |
Size | ComputeWholeSize (Attribute attrib) |
Size | ReserveMemory (Size dataSize) |
FILE * | GetFile () |
bool | CanAddGlobalAttrib () const |
Public Attributes | |
bool | m_directWrite: 1 |
bool | m_attributesWritten: 1 |
bool | m_fileReadOnly: 1 |
Private Member Functions | |
FRIEND_CLASS_TESTER (HCF) | |
FRIEND_CLASS_TESTER (ImplHCF) | |
Private Attributes | |
FileHeader | m_header |
ChunkReprPtr | m_rootChunk |
Main Chunk. More... | |
AttributeReprPtr | m_fileAttributes |
Top level attributes. More... | |
FILE * | m_file |
Size | m_writePtr |
|
explicit |
sw::ImplHCF::~ImplHCF | ( | ) |
Attribute sw::ImplHCF::AddAttribute | ( | AttributeReprPtr & | list, |
AttributeType | type, | ||
const DataPtr | data, | ||
Size | dataSize | ||
) |
Attribute sw::ImplHCF::AddGlobalAttribute | ( | AttributeType | type, |
const DataPtr | data, | ||
Size | dataSize | ||
) |
bool sw::ImplHCF::CanAddGlobalAttrib | ( | ) | const |
Chunk sw::ImplHCF::CreateRootChunk | ( | ) |
|
private |
|
private |
|
inline |
Chunk sw::ImplHCF::GetRootChunk | ( | ) |
bool sw::ImplHCF::LoadFile | ( | const filesystem::Path & | filePath, |
bool | readOnly | ||
) |
bool sw::ImplHCF::OpenFile | ( | const filesystem::Path & | filePath, |
bool | writeDirect | ||
) |
bool sw::ImplHCF::WriteFile | ( | const filesystem::Path & | filePath | ) |
bool sw::ImplHCF::m_attributesWritten |
bool sw::ImplHCF::m_directWrite |
|
private |
|
private |
Top level attributes.
bool sw::ImplHCF::m_fileReadOnly |
|
private |
|
private |
Main Chunk.
|
private |