FileObject

Engine/source/core/fileObject.h

More...

Private Types

Parent 

Public Functions

bool
bool
openForRead(const char * fileName)
bool
openForWrite(const char * fileName, const bool append)
peekLine(U8 * line, S32 length)
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)