Public Member Functions | |
virtual int | BytesAvailable () |
virtual bool | Close () |
virtual int | CopyFromStream (File *pStream, int byteSize) |
FILEFile () | |
FILEFile (const String &fileName, int flags, int Mode) | |
FILEFile (const char *pfileName, int flags, int Mode) | |
virtual bool | Flush () |
virtual int | GetErrorCode () |
virtual const char * | GetFilePath () |
virtual int | GetLength () |
virtual bool | IsValid () |
virtual bool | IsWritable () |
virtual SInt64 | LGetLength () |
virtual SInt64 | LSeek (SInt64 offset, int origin) |
virtual SInt64 | LTell () |
virtual int | Read (UByte *pbuffer, int numBytes) |
virtual int | Seek (int offset, int origin) |
virtual int | SkipBytes (int numBytes) |
virtual int | Tell () |
virtual int | Write (const UByte *pbuffer, int numBytes) |
~FILEFile () | |
Protected Attributes | |
int | ErrorCode |
String | FileName |
FILE * | fs |
int | LastOp |
bool | Opened |
int | OpenFlags |
Private Member Functions | |
void | init () |
Definition at line 96 of file OVR_FileFILE.cpp.
OVR::FILEFile::FILEFile | ( | ) | [inline] |
Definition at line 120 of file OVR_FileFILE.cpp.
OVR::FILEFile::FILEFile | ( | const String & | fileName, |
int | flags, | ||
int | Mode | ||
) |
Definition at line 173 of file OVR_FileFILE.cpp.
OVR::FILEFile::FILEFile | ( | const char * | pfileName, |
int | flags, | ||
int | Mode | ||
) |
Definition at line 181 of file OVR_FileFILE.cpp.
OVR::FILEFile::~FILEFile | ( | ) | [inline] |
Definition at line 135 of file OVR_FileFILE.cpp.
int OVR::FILEFile::BytesAvailable | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 386 of file OVR_FileFILE.cpp.
bool OVR::FILEFile::Close | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 473 of file OVR_FileFILE.cpp.
int OVR::FILEFile::CopyFromStream | ( | File * | pStream, |
int | byteSize | ||
) | [virtual] |
Implements OVR::File.
Definition at line 449 of file OVR_FileFILE.cpp.
bool OVR::FILEFile::Flush | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 404 of file OVR_FileFILE.cpp.
int OVR::FILEFile::GetErrorCode | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 318 of file OVR_FileFILE.cpp.
const char * OVR::FILEFile::GetFilePath | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 254 of file OVR_FileFILE.cpp.
int OVR::FILEFile::GetLength | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 293 of file OVR_FileFILE.cpp.
void OVR::FILEFile::init | ( | ) | [private] |
Definition at line 188 of file OVR_FileFILE.cpp.
bool OVR::FILEFile::IsValid | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 261 of file OVR_FileFILE.cpp.
bool OVR::FILEFile::IsWritable | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 265 of file OVR_FileFILE.cpp.
SInt64 OVR::FILEFile::LGetLength | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 305 of file OVR_FileFILE.cpp.
SInt64 OVR::FILEFile::LSeek | ( | SInt64 | offset, |
int | origin | ||
) | [virtual] |
Implements OVR::File.
Definition at line 444 of file OVR_FileFILE.cpp.
SInt64 OVR::FILEFile::LTell | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 285 of file OVR_FileFILE.cpp.
int OVR::FILEFile::Read | ( | UByte * | pbuffer, |
int | numBytes | ||
) | [virtual] |
Implements OVR::File.
Definition at line 341 of file OVR_FileFILE.cpp.
int OVR::FILEFile::Seek | ( | int | offset, |
int | origin | ||
) | [virtual] |
Implements OVR::File.
Definition at line 409 of file OVR_FileFILE.cpp.
int OVR::FILEFile::SkipBytes | ( | int | numBytes | ) | [virtual] |
Implements OVR::File.
Definition at line 370 of file OVR_FileFILE.cpp.
int OVR::FILEFile::Tell | ( | ) | [virtual] |
Implements OVR::File.
Definition at line 277 of file OVR_FileFILE.cpp.
int OVR::FILEFile::Write | ( | const UByte * | pbuffer, |
int | numBytes | ||
) | [virtual] |
Implements OVR::File.
Definition at line 324 of file OVR_FileFILE.cpp.
int OVR::FILEFile::ErrorCode [protected] |
Definition at line 108 of file OVR_FileFILE.cpp.
String OVR::FILEFile::FileName [protected] |
Definition at line 101 of file OVR_FileFILE.cpp.
FILE* OVR::FILEFile::fs [protected] |
Definition at line 105 of file OVR_FileFILE.cpp.
int OVR::FILEFile::LastOp [protected] |
Definition at line 110 of file OVR_FileFILE.cpp.
bool OVR::FILEFile::Opened [protected] |
Definition at line 104 of file OVR_FileFILE.cpp.
int OVR::FILEFile::OpenFlags [protected] |
Reimplemented from OVR::FileConstants.
Definition at line 106 of file OVR_FileFILE.cpp.