Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::UnopenedFile Class Reference
Inheritance diagram for OVR::UnopenedFile:
Inheritance graph
Collaboration diagram for OVR::UnopenedFile:
Collaboration graph

Public Member Functions

 UnopenedFile ()
 
 ~UnopenedFile ()
 
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 &)
 

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 *)
 
- Protected Attributes inherited from OVR::RefCountImplCore
volatile int RefCount
 

Detailed Description

Definition at line 40 of file OVR_SysFile.cpp.

Constructor & Destructor Documentation

OVR::UnopenedFile::UnopenedFile ( )
inline

Definition at line 43 of file OVR_SysFile.cpp.

OVR::UnopenedFile::~UnopenedFile ( )
inline

Definition at line 44 of file OVR_SysFile.cpp.

Member Function Documentation

virtual int OVR::UnopenedFile::BytesAvailable ( )
inlinevirtual

Implements OVR::File.

Definition at line 65 of file OVR_SysFile.cpp.

virtual bool OVR::UnopenedFile::Close ( )
inlinevirtual

Implements OVR::File.

Definition at line 71 of file OVR_SysFile.cpp.

virtual int OVR::UnopenedFile::CopyFromStream ( File pstream,
int  byteSize 
)
inlinevirtual

Implements OVR::File.

Definition at line 70 of file OVR_SysFile.cpp.

virtual bool OVR::UnopenedFile::Flush ( )
inlinevirtual

Implements OVR::File.

Definition at line 66 of file OVR_SysFile.cpp.

virtual int OVR::UnopenedFile::GetErrorCode ( )
inlinevirtual

Implements OVR::File.

Definition at line 59 of file OVR_SysFile.cpp.

virtual const char* OVR::UnopenedFile::GetFilePath ( )
inlinevirtual

Implements OVR::File.

Definition at line 46 of file OVR_SysFile.cpp.

virtual int OVR::UnopenedFile::GetLength ( )
inlinevirtual

Implements OVR::File.

Definition at line 55 of file OVR_SysFile.cpp.

virtual bool OVR::UnopenedFile::IsValid ( )
inlinevirtual

Implements OVR::File.

Definition at line 49 of file OVR_SysFile.cpp.

virtual bool OVR::UnopenedFile::IsWritable ( )
inlinevirtual

Implements OVR::File.

Definition at line 50 of file OVR_SysFile.cpp.

virtual SInt64 OVR::UnopenedFile::LGetLength ( )
inlinevirtual

Implements OVR::File.

Definition at line 56 of file OVR_SysFile.cpp.

virtual SInt64 OVR::UnopenedFile::LSeek ( SInt64  offset,
int  origin 
)
inlinevirtual

Implements OVR::File.

Definition at line 68 of file OVR_SysFile.cpp.

virtual SInt64 OVR::UnopenedFile::LTell ( )
inlinevirtual

Implements OVR::File.

Definition at line 54 of file OVR_SysFile.cpp.

virtual int OVR::UnopenedFile::Read ( UByte pbuffer,
int  numBytes 
)
inlinevirtual

Implements OVR::File.

Definition at line 63 of file OVR_SysFile.cpp.

virtual int OVR::UnopenedFile::Seek ( int  offset,
int  origin 
)
inlinevirtual

Implements OVR::File.

Definition at line 67 of file OVR_SysFile.cpp.

virtual int OVR::UnopenedFile::SkipBytes ( int  numBytes)
inlinevirtual

Implements OVR::File.

Definition at line 64 of file OVR_SysFile.cpp.

virtual int OVR::UnopenedFile::Tell ( )
inlinevirtual

Implements OVR::File.

Definition at line 53 of file OVR_SysFile.cpp.

virtual int OVR::UnopenedFile::Write ( const UByte pbuffer,
int  numBytes 
)
inlinevirtual

Implements OVR::File.

Definition at line 62 of file OVR_SysFile.cpp.


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