Sleeping Wombat Common Library  0.50.0
swCommonLibrary
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
sw::ImplHCF Class Reference

Public Member Functions

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.
 
AttributeReprPtr m_fileAttributes
 Top level attributes.
 
FILE * m_file
 
Size m_writePtr
 

The documentation for this class was generated from the following files: