#include <OVR_File.h>
Public Member Functions | |
int | BytesAvailable () |
bool | Close () |
int | CopyFromStream (File *pstream, int byteSize) |
bool | Flush () |
int | GetErrorCode () |
const char * | GetFilePath () |
int | GetLength () |
bool | IsValid () |
bool | IsWritable () |
SInt64 | LGetLength () |
SInt64 | LSeek (SInt64 offset, int origin=Seek_Set) |
SInt64 | LTell () |
MemoryFile (const String &fileName, const UByte *pBuffer, int buffSize) | |
MemoryFile (const char *pfileName, const UByte *pBuffer, int buffSize) | |
int | Read (UByte *pbufer, int numBytes) |
int | Seek (int offset, int origin=Seek_Set) |
int | SkipBytes (int numBytes) |
int | Tell () |
int | Write (const UByte *pbuffer, int numBytes) |
Private Attributes | |
const UByte * | FileData |
int | FileIndex |
String | FilePath |
int | FileSize |
bool | Valid |
Definition at line 396 of file OVR_File.h.
OVR::MemoryFile::MemoryFile | ( | const String & | fileName, |
const UByte * | pBuffer, | ||
int | buffSize | ||
) | [inline] |
Definition at line 483 of file OVR_File.h.
OVR::MemoryFile::MemoryFile | ( | const char * | pfileName, |
const UByte * | pBuffer, | ||
int | buffSize | ||
) | [inline] |
Definition at line 493 of file OVR_File.h.
int OVR::MemoryFile::BytesAvailable | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 459 of file OVR_File.h.
bool OVR::MemoryFile::Close | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 414 of file OVR_File.h.
int OVR::MemoryFile::CopyFromStream | ( | File * | pstream, |
int | byteSize | ||
) | [inline, virtual] |
Implements OVR::File.
Definition at line 420 of file OVR_File.h.
bool OVR::MemoryFile::Flush | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 405 of file OVR_File.h.
int OVR::MemoryFile::GetErrorCode | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 406 of file OVR_File.h.
const char* OVR::MemoryFile::GetFilePath | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 400 of file OVR_File.h.
int OVR::MemoryFile::GetLength | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 411 of file OVR_File.h.
bool OVR::MemoryFile::IsValid | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 402 of file OVR_File.h.
bool OVR::MemoryFile::IsWritable | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 403 of file OVR_File.h.
SInt64 OVR::MemoryFile::LGetLength | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 412 of file OVR_File.h.
SInt64 OVR::MemoryFile::LSeek | ( | SInt64 | offset, |
int | origin = Seek_Set |
||
) | [inline, virtual] |
Implements OVR::File.
Definition at line 476 of file OVR_File.h.
SInt64 OVR::MemoryFile::LTell | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 409 of file OVR_File.h.
int OVR::MemoryFile::Read | ( | UByte * | pbufer, |
int | numBytes | ||
) | [inline, virtual] |
Implements OVR::File.
Definition at line 430 of file OVR_File.h.
int OVR::MemoryFile::Seek | ( | int | offset, |
int | origin = Seek_Set |
||
) | [inline, virtual] |
Implements OVR::File.
Definition at line 464 of file OVR_File.h.
int OVR::MemoryFile::SkipBytes | ( | int | numBytes | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 447 of file OVR_File.h.
int OVR::MemoryFile::Tell | ( | ) | [inline, virtual] |
Implements OVR::File.
Definition at line 408 of file OVR_File.h.
int OVR::MemoryFile::Write | ( | const UByte * | pbuffer, |
int | numBytes | ||
) | [inline, virtual] |
Implements OVR::File.
Definition at line 425 of file OVR_File.h.
const UByte* OVR::MemoryFile::FileData [private] |
Definition at line 504 of file OVR_File.h.
int OVR::MemoryFile::FileIndex [private] |
Definition at line 506 of file OVR_File.h.
String OVR::MemoryFile::FilePath [private] |
Definition at line 503 of file OVR_File.h.
int OVR::MemoryFile::FileSize [private] |
Definition at line 505 of file OVR_File.h.
bool OVR::MemoryFile::Valid [private] |
Definition at line 507 of file OVR_File.h.