|
| ArchiveReaderCommon (plInt32 iDataDirUserData) |
|
virtual plUInt64 | GetFileSize () const override |
| Returns the current total size of the file.
|
|
| plDataDirectoryReader (plInt32 iDataDirUserData) |
|
virtual plUInt64 | Read (void *pBuffer, plUInt64 uiBytes)=0 |
|
virtual plUInt64 | Skip (plUInt64 uiBytes) |
| Helper method to skip a number of bytes (implementations of the directory reader may implement this more efficiently for example)
|
|
| plDataDirectoryReaderWriterBase (plInt32 iDataDirUserData, bool bIsReader) |
| The derived class should pass along whether it is a reader or writer.
|
|
plResult | Open (plStringView sFile, plDataDirectoryType *pOwnerDataDirectory, plFileShareMode::Enum fileShareMode) |
| Used by plDataDirectoryType's to try to open the given file. They need to pass along their own pointer.
|
|
void | Close () |
| Closes this data stream.
|
|
const plString128 & | GetFilePath () const |
| Returns the relative path of this file within the owner data directory.
|
|
plDataDirectoryType * | GetDataDirectory () 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.
|
|
plInt32 | GetDataDirUserData () const |
|
◆ GetFileSize()
plUInt64 plDataDirectory::ArchiveReaderCommon::GetFileSize |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- Code/Engine/Foundation/IO/Archive/DataDirTypeArchive.h
- Code/Engine/Foundation/IO/Archive/Implementation/DataDirTypeArchive.cpp