Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
OVR::BufferedFile Class Reference

#include <OVR_File.h>

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

List of all members.

Public Member Functions

 BufferedFile (File *pfile)
virtual int BytesAvailable ()
virtual bool Close ()
virtual int CopyFromStream (File *pstream, int byteSize)
virtual bool Flush ()
virtual int GetLength ()
virtual SInt64 LGetLength ()
virtual SInt64 LSeek (SInt64 offset, int origin=Seek_Set)
virtual SInt64 LTell ()
virtual int Read (UByte *pbufer, int numBytes)
virtual int Seek (int offset, int origin=Seek_Set)
virtual int SkipBytes (int numBytes)
virtual int Tell ()
virtual int Write (const UByte *pbufer, int numBytes)
 ~BufferedFile ()

Protected Types

enum  BufferModeType { NoBuffer, ReadBuffer, WriteBuffer }

Protected Member Functions

 BufferedFile ()
 BufferedFile (const BufferedFile &source)
void FlushBuffer ()
void LoadBuffer ()
bool SetBufferMode (BufferModeType mode)

Protected Attributes

BufferModeType BufferMode
unsigned DataSize
UInt64 FilePos
UBytepBuffer
unsigned Pos

Detailed Description

Definition at line 323 of file OVR_File.h.


Member Enumeration Documentation

Enumerator:
NoBuffer 
ReadBuffer 
WriteBuffer 

Definition at line 326 of file OVR_File.h.


Constructor & Destructor Documentation

Definition at line 36 of file OVR_File.cpp.

OVR::BufferedFile::BufferedFile ( const BufferedFile source) [inline, protected]

Definition at line 354 of file OVR_File.h.

Definition at line 46 of file OVR_File.cpp.

Definition at line 57 of file OVR_File.cpp.


Member Function Documentation

Reimplemented from OVR::DelegatedFile.

Definition at line 361 of file OVR_File.cpp.

bool OVR::BufferedFile::Close ( ) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 540 of file OVR_File.cpp.

int OVR::BufferedFile::CopyFromStream ( File pstream,
int  byteSize 
) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 513 of file OVR_File.cpp.

bool OVR::BufferedFile::Flush ( ) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 381 of file OVR_File.cpp.

void OVR::BufferedFile::FlushBuffer ( ) [protected]

Definition at line 107 of file OVR_File.cpp.

int OVR::BufferedFile::GetLength ( ) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 184 of file OVR_File.cpp.

Reimplemented from OVR::DelegatedFile.

Definition at line 196 of file OVR_File.cpp.

void OVR::BufferedFile::LoadBuffer ( ) [protected]

Definition at line 131 of file OVR_File.cpp.

SInt64 OVR::BufferedFile::LSeek ( SInt64  offset,
int  origin = Seek_Set 
) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 453 of file OVR_File.cpp.

Reimplemented from OVR::DelegatedFile.

Definition at line 169 of file OVR_File.cpp.

int OVR::BufferedFile::Read ( UByte pbufer,
int  numBytes 
) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 260 of file OVR_File.cpp.

int OVR::BufferedFile::Seek ( int  offset,
int  origin = Seek_Set 
) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 388 of file OVR_File.cpp.

Definition at line 86 of file OVR_File.cpp.

int OVR::BufferedFile::SkipBytes ( int  numBytes) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 333 of file OVR_File.cpp.

int OVR::BufferedFile::Tell ( ) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 153 of file OVR_File.cpp.

int OVR::BufferedFile::Write ( const UByte pbufer,
int  numBytes 
) [virtual]

Reimplemented from OVR::DelegatedFile.

Definition at line 231 of file OVR_File.cpp.


Member Data Documentation

Definition at line 335 of file OVR_File.h.

unsigned OVR::BufferedFile::DataSize [protected]

Definition at line 339 of file OVR_File.h.

Definition at line 341 of file OVR_File.h.

Definition at line 334 of file OVR_File.h.

unsigned OVR::BufferedFile::Pos [protected]

Definition at line 337 of file OVR_File.h.


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


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