Public Member Functions | Private Attributes
OVR::MemoryFile Class Reference

#include <OVR_File.h>

Inheritance diagram for OVR::MemoryFile:
Inheritance graph
[legend]

List of all members.

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 UByteFileData
int FileIndex
String FilePath
int FileSize
bool Valid

Detailed Description

Definition at line 396 of file OVR_File.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

const UByte* OVR::MemoryFile::FileData [private]

Definition at line 504 of file OVR_File.h.

Definition at line 506 of file OVR_File.h.

Definition at line 503 of file OVR_File.h.

Definition at line 505 of file OVR_File.h.

bool OVR::MemoryFile::Valid [private]

Definition at line 507 of file OVR_File.h.


The documentation for this class was generated from the following file:


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:20