17 #include "swCommonLib/System/Path.h"
30 FRIEND_CLASS_TESTER(
HCF );
45 bool m_directWrite : 1;
46 bool m_attributesWritten : 1;
47 bool m_fileReadOnly : 1;
55 Chunk GetRootChunk ();
56 Chunk CreateRootChunk ();
62 Attribute AddGlobalAttribute ( AttributeType type,
const DataPtr data, Size dataSize );
63 Attribute AddAttribute ( AttributeReprPtr& list, AttributeType type,
const DataPtr data, Size dataSize );
67 Size ComputeWholeSize (
Attribute attrib );
69 Size ReserveMemory ( Size dataSize );
70 FILE* GetFile () {
return m_file; }
72 bool CanAddGlobalAttrib ()
const;
Definition: Exception.h:11
Represents memory chunk in file.
Definition: Chunk.h:24
Main class for loading and writing HCF files.
Definition: HCF.h:34
ChunkReprPtr m_rootChunk
Main Chunk.
Definition: ImplHCF.h:36
AttributeReprPtr m_fileAttributes
Top level attributes.
Definition: ImplHCF.h:37
Definition: Attribute.h:21