FileObject
Engine/source/core/fileObject.h
Private Types
Parent
Private Attributes
Public Functions
bool
isEOF()
bool
openForRead(const char * fileName)
bool
openForWrite(const char * fileName, const bool append)
bool
readMemory(const char * fileName)
writeObject(SimObject * object, const U8 * objectPrepend)
Detailed Description
Private Types
typedef SimObject Parent
Private Attributes
U32 mBufferSize
U32 mCurPos
U8 * mFileBuffer
FileStream * stream
Public Functions
FileObject()
~FileObject()
buffer()
close()
DECLARE_CONOBJECT(FileObject )
isEOF()
openForRead(const char * fileName)
openForWrite(const char * fileName, const bool append)
peekLine(U8 * line, S32 length)
readLine()
readMemory(const char * fileName)
writeLine(const U8 * line)
writeObject(SimObject * object, const U8 * objectPrepend)