ezEngine Release 25.08
Loading...
Searching...
No Matches
ezDataDirectory::ArchiveReaderUncompressed Class Reference
Inheritance diagram for ezDataDirectory::ArchiveReaderUncompressed:

Public Member Functions

 ArchiveReaderUncompressed (ezInt32 iDataDirUserData)
 
virtual ezUInt64 Skip (ezUInt64 uiBytes) override
 Helper method to skip a number of bytes (implementations of the directory reader may implement this more efficiently for example)
 
virtual ezUInt64 Read (void *pBuffer, ezUInt64 uiBytes) override
 
- Public Member Functions inherited from ezDataDirectory::ArchiveReaderCommon
 ArchiveReaderCommon (ezInt32 iDataDirUserData)
 
virtual ezUInt64 GetFileSize () const override
 Returns the current total size of the file.
 
- Public Member Functions inherited from ezDataDirectoryReader
 ezDataDirectoryReader (ezInt32 iDataDirUserData)
 
- Public Member Functions inherited from ezDataDirectoryReaderWriterBase
 ezDataDirectoryReaderWriterBase (ezInt32 iDataDirUserData, bool bIsReader)
 The derived class should pass along whether it is a reader or writer.
 
ezResult Open (ezStringView sFile, ezDataDirectoryType *pOwnerDataDirectory, ezFileShareMode::Enum fileShareMode)
 Used by ezDataDirectoryType's to try to open the given file. They need to pass along their own pointer.
 
void Close ()
 Closes this data stream.
 
const ezString128GetFilePath () const
 Returns the relative path of this file within the owner data directory.
 
ezDataDirectoryTypeGetDataDirectory () const
 Returns the pointer to the data directory, which created this reader/writer.
 
bool IsReader () const
 Returns true if this is a reader stream, false if it is a writer stream.
 
ezInt32 GetDataDirUserData () const
 

Protected Member Functions

virtual ezResult InternalOpen (ezFileShareMode::Enum FileShareMode) override
 This function must be implemented by the derived class.
 
virtual void InternalClose () override
 This function must be implemented by the derived class.
 

Additional Inherited Members

- Protected Attributes inherited from ezDataDirectory::ArchiveReaderCommon
ezUInt64 m_uiUncompressedSize = 0
 
ezUInt64 m_uiCompressedSize = 0
 
ezRawMemoryStreamReader m_MemStreamReader
 
- Protected Attributes inherited from ezDataDirectoryReaderWriterBase
bool m_bIsReader
 
ezInt32 m_iDataDirUserData = 0
 
ezDataDirectoryTypem_pDataDirType
 
ezString128 m_sFilePath
 

Member Function Documentation

◆ InternalClose()

void ezDataDirectory::ArchiveReaderUncompressed::InternalClose ( )
overrideprotectedvirtual

This function must be implemented by the derived class.

Implements ezDataDirectoryReaderWriterBase.

◆ InternalOpen()

ezResult ezDataDirectory::ArchiveReaderUncompressed::InternalOpen ( ezFileShareMode::Enum  FileShareMode)
overrideprotectedvirtual

This function must be implemented by the derived class.

Implements ezDataDirectoryReaderWriterBase.

◆ Read()

ezUInt64 ezDataDirectory::ArchiveReaderUncompressed::Read ( void *  pBuffer,
ezUInt64  uiBytes 
)
overridevirtual

Implements ezDataDirectoryReader.

◆ Skip()

ezUInt64 ezDataDirectory::ArchiveReaderUncompressed::Skip ( ezUInt64  uiBytes)
overridevirtual

Helper method to skip a number of bytes (implementations of the directory reader may implement this more efficiently for example)

Reimplemented from ezDataDirectoryReader.


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