Torque3D Documentation / _generateds / Torque::Posix::PosixFile

Torque::Posix::PosixFile

Engine/source/platformPOSIX/posixVolume.h

Posix stdio file access.

More...

Public Friends

Private Attributes

Private Functions

PosixFile(const Path & path, String name)
bool

return 0 on failure

Detailed Description

Posix stdio file access.

This class makes use the fopen, fread and fwrite for buffered io.

Public Friends

Private Attributes

FILE * _handle 
String _name 
Path _path 
NodeStatus _status 

Private Functions

PosixFile(const Path & path, String name)

_updateInfo()

_updateStatus()

calculateChecksum()

Reimplemented from: Torque::FS::FileNode

Public Functions

~PosixFile()

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