Bike-X
0.8
|
Public Member Functions | |
FILEFile () | |
FILEFile (const String &fileName, int flags, int Mode) | |
FILEFile (const char *pfileName, int flags, int Mode) | |
~FILEFile () | |
virtual const char * | GetFilePath () |
virtual bool | IsValid () |
virtual bool | IsWritable () |
virtual int | Tell () |
virtual SInt64 | LTell () |
virtual int | GetLength () |
virtual SInt64 | LGetLength () |
virtual int | GetErrorCode () |
virtual int | Write (const UByte *pbuffer, int numBytes) |
virtual int | Read (UByte *pbuffer, int numBytes) |
virtual int | SkipBytes (int numBytes) |
virtual int | BytesAvailable () |
virtual bool | Flush () |
virtual int | Seek (int offset, int origin) |
virtual SInt64 | LSeek (SInt64 offset, int origin) |
virtual int | CopyFromStream (File *pStream, int byteSize) |
virtual bool | Close () |
Public Member Functions inherited from OVR::File | |
File () | |
bool | IsEOF () |
int | SeekToBegin () |
int | SeekToEnd () |
int | Skip (int numBytes) |
void | WriteUByte (UByte v) |
void | WriteSByte (SByte v) |
void | WriteUInt8 (UByte v) |
void | WriteSInt8 (SByte v) |
void | WriteUInt16 (UInt16 v) |
void | WriteSInt16 (SInt16 v) |
void | WriteUInt32 (UInt32 v) |
void | WriteSInt32 (SInt32 v) |
void | WriteUInt64 (UInt64 v) |
void | WriteSInt64 (SInt64 v) |
void | WriteFloat (float v) |
void | WriteDouble (double v) |
void | WriteUByteBE (UByte v) |
void | WriteSByteBE (SByte v) |
void | WriteUInt8BE (UInt16 v) |
void | WriteSInt8BE (SInt16 v) |
void | WriteUInt16BE (UInt16 v) |
void | WriteSInt16BE (UInt16 v) |
void | WriteUInt32BE (UInt32 v) |
void | WriteSInt32BE (UInt32 v) |
void | WriteUInt64BE (UInt64 v) |
void | WriteSInt64BE (UInt64 v) |
void | WriteFloatBE (float v) |
void | WriteDoubleBE (double v) |
UByte | ReadUByte () |
SByte | ReadSByte () |
UByte | ReadUInt8 () |
SByte | ReadSInt8 () |
UInt16 | ReadUInt16 () |
SInt16 | ReadSInt16 () |
UInt32 | ReadUInt32 () |
SInt32 | ReadSInt32 () |
UInt64 | ReadUInt64 () |
SInt64 | ReadSInt64 () |
float | ReadFloat () |
double | ReadDouble () |
UByte | ReadUByteBE () |
SByte | ReadSByteBE () |
UByte | ReadUInt8BE () |
SByte | ReadSInt8BE () |
UInt16 | ReadUInt16BE () |
SInt16 | ReadSInt16BE () |
UInt32 | ReadUInt32BE () |
SInt32 | ReadSInt32BE () |
UInt64 | ReadUInt64BE () |
SInt64 | ReadSInt64BE () |
float | ReadFloatBE () |
double | ReadDoubleBE () |
Public Member Functions inherited from OVR::RefCountBase< File > | |
OVR_FORCE_INLINE | RefCountBase () |
Public Member Functions inherited from OVR::RefCountBaseStatImpl< RefCountImpl > | |
RefCountBaseStatImpl () | |
Public Member Functions inherited from OVR::RefCountImpl | |
void | AddRef () |
void | Release () |
Public Member Functions inherited from OVR::RefCountImplCore | |
OVR_FORCE_INLINE | RefCountImplCore () |
virtual | ~RefCountImplCore () |
int | GetRefCount () const |
void | operator= (const RefCountImplCore &) |
Protected Attributes | |
String | FileName |
bool | Opened |
FILE * | fs |
int | OpenFlags |
int | ErrorCode |
int | LastOp |
Protected Attributes inherited from OVR::RefCountImplCore | |
volatile int | RefCount |
Private Member Functions | |
void | init () |
Additional Inherited Members | |
Public Types inherited from OVR::FileConstants | |
enum | OpenFlags { Open_Read = 1, Open_Write = 2, Open_ReadWrite = 3, Open_Truncate = 4, Open_Create = 8, Open_CreateOnly = 24, Open_Buffered = 32 } |
enum | Modes { Mode_Read = 0444, Mode_Write = 0222, Mode_Execute = 0111, Mode_ReadWrite = 0666 } |
enum | SeekOps { Seek_Set = 0, Seek_Cur = 1, Seek_End = 2 } |
enum | Errors { Error_FileNotFound = 0x1001, Error_Access = 0x1002, Error_IOError = 0x1003, Error_DiskFull = 0x1004 } |
Static Public Member Functions inherited from OVR::RefCountImplCore | |
static void | checkInvalidDelete (RefCountImplCore *) |
Definition at line 107 of file OVR_FileFILE.cpp.
|
inline |
Definition at line 131 of file OVR_FileFILE.cpp.
OVR::FILEFile::FILEFile | ( | const String & | fileName, |
int | flags, | ||
int | Mode | ||
) |
Definition at line 184 of file OVR_FileFILE.cpp.
OVR::FILEFile::FILEFile | ( | const char * | pfileName, |
int | flags, | ||
int | Mode | ||
) |
Definition at line 192 of file OVR_FileFILE.cpp.
|
inline |
Definition at line 146 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 397 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 484 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 460 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 415 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 329 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 265 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 304 of file OVR_FileFILE.cpp.
|
private |
Definition at line 199 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 272 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 276 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 316 of file OVR_FileFILE.cpp.
Implements OVR::File.
Definition at line 455 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 296 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 352 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 420 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 381 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 288 of file OVR_FileFILE.cpp.
|
virtual |
Implements OVR::File.
Definition at line 335 of file OVR_FileFILE.cpp.
|
protected |
Definition at line 119 of file OVR_FileFILE.cpp.
|
protected |
Definition at line 112 of file OVR_FileFILE.cpp.
|
protected |
Definition at line 116 of file OVR_FileFILE.cpp.
|
protected |
Definition at line 121 of file OVR_FileFILE.cpp.
|
protected |
Definition at line 115 of file OVR_FileFILE.cpp.
|
protected |
Definition at line 117 of file OVR_FileFILE.cpp.