uint64 AttributeType
Definition: AttributeTypes.h:12
bool m_directWrite
Definition: ImplHCF.h:45
Size ComputeWholeSize(Attribute attrib)
Definition: ImplHCF.cpp:185
ImplHCF()
Definition: ImplHCF.cpp:21
Definition: DirectInputModule.cpp:11
Represents memory chunk in file.
Definition: Chunk.h:24
Main class for loading and writing HCF files.
Definition: HCF.h:34
bool WriteFile(const filesystem::Path &filePath)
Definition: ImplHCF.cpp:83
Size m_writePtr
Definition: ImplHCF.h:41
DataUnderlayingType * DataPtr
Definition: AttributeTypes.h:14
FILE * GetFile()
Definition: ImplHCF.h:70
bool m_attributesWritten
Definition: ImplHCF.h:46
bool m_fileReadOnly
Definition: ImplHCF.h:47
bool LoadFile(const filesystem::Path &filePath, bool readOnly)
Definition: ImplHCF.cpp:106
FILE * m_file
Definition: ImplHCF.h:40
Size ReserveMemory(Size dataSize)
Definition: ImplHCF.cpp:193
bool OpenFile(const filesystem::Path &filePath, bool writeDirect)
Definition: ImplHCF.cpp:58
ChunkReprPtr m_rootChunk
Main Chunk.
Definition: ImplHCF.h:36
size_t Size
Definition: TypesDefinitions.h:35
AttributeReprPtr m_fileAttributes
Top level attributes.
Definition: ImplHCF.h:37
Definition: Attribute.h:21
Chunk CreateRootChunk()
Definition: ImplHCF.cpp:132
Attribute AddGlobalAttribute(AttributeType type, const DataPtr data, Size dataSize)
Definition: ImplHCF.cpp:151
Chunk GetRootChunk()
Definition: ImplHCF.cpp:40
~ImplHCF()
Definition: ImplHCF.cpp:31
Attribute AddAttribute(AttributeReprPtr &list, AttributeType type, const DataPtr data, Size dataSize)
Definition: ImplHCF.cpp:168
bool CanAddGlobalAttrib() const
Definition: ImplHCF.cpp:203
FileHeader m_header
Definition: ImplHCF.h:34