Torque::Mem::MemFile
Engine/source/core/memVolume.h
Mem stdio file access.
Private Attributes
Public Functions
MemFile(MemFileSystem * fs, MemFileData * fileData)
~MemFile()
bool
close()
bool
bool
setPosition(U32 , SeekMode )
Private Functions
Detailed Description
Mem stdio file access.
This class makes use the fopen, fread and fwrite for buffered io.
Private Attributes
U32 mCurrentPos
MemFileData * mFileData
MemFileSystem * mFileSystem
NodeStatus mStatus
Public Functions
MemFile(MemFileSystem * fs, MemFileData * fileData)
~MemFile()
close()
Reimplemented from: Torque::FS::File
getAttributes(Attributes * )
Reimplemented from: Torque::FS::FileNode
getName()
Reimplemented from: Torque::FS::FileNode
getPosition()
Reimplemented from: Torque::FS::File
getStatus()
Reimplemented from: Torque::FS::FileNode
open(AccessMode )
Reimplemented from: Torque::FS::File
read(void * dst, U32 size)
Reimplemented from: Torque::FS::File
setPosition(U32 , SeekMode )
Reimplemented from: Torque::FS::File
write(const void * src, U32 size)
Reimplemented from: Torque::FS::File
Private Functions
_updateInfo()
_updateStatus()
calculateChecksum()
Reimplemented from: Torque::FS::FileNode