doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
idFile_Permanent Class Reference

#include <File.h>

Inheritance diagram for idFile_Permanent:
idFile

Public Member Functions

 idFile_Permanent (void)
 
virtual ~idFile_Permanent (void)
 
virtual const char * GetName (void)
 
virtual const char * GetFullPath (void)
 
virtual int Read (void *buffer, int len)
 
virtual int Write (const void *buffer, int len)
 
virtual int Length (void)
 
virtual ID_TIME_T Timestamp (void)
 
virtual int Tell (void)
 
virtual void ForceFlush (void)
 
virtual void Flush (void)
 
virtual int Seek (long offset, fsOrigin_t origin)
 
FILE * GetFilePtr (void)
 
- Public Member Functions inherited from idFile
virtual ~idFile (void)
 
virtual void Rewind (void)
 
virtual int Printf (const char *fmt,...) id_attribute((format(printf
 
virtual int virtual int VPrintf (const char *fmt, va_list arg)
 
virtual int WriteFloatString (const char *fmt,...) id_attribute((format(printf
 
virtual int virtual int ReadInt (int &value)
 
virtual int ReadUnsignedInt (unsigned int &value)
 
virtual int ReadShort (short &value)
 
virtual int ReadUnsignedShort (unsigned short &value)
 
virtual int ReadChar (char &value)
 
virtual int ReadUnsignedChar (unsigned char &value)
 
virtual int ReadFloat (float &value)
 
virtual int ReadBool (bool &value)
 
virtual int ReadString (idStr &string)
 
virtual int ReadVec2 (idVec2 &vec)
 
virtual int ReadVec3 (idVec3 &vec)
 
virtual int ReadVec4 (idVec4 &vec)
 
virtual int ReadVec6 (idVec6 &vec)
 
virtual int ReadMat3 (idMat3 &mat)
 
virtual int WriteInt (const int value)
 
virtual int WriteUnsignedInt (const unsigned int value)
 
virtual int WriteShort (const short value)
 
virtual int WriteUnsignedShort (unsigned short value)
 
virtual int WriteChar (const char value)
 
virtual int WriteUnsignedChar (const unsigned char value)
 
virtual int WriteFloat (const float value)
 
virtual int WriteBool (const bool value)
 
virtual int WriteString (const char *string)
 
virtual int WriteVec2 (const idVec2 &vec)
 
virtual int WriteVec3 (const idVec3 &vec)
 
virtual int WriteVec4 (const idVec4 &vec)
 
virtual int WriteVec6 (const idVec6 &vec)
 
virtual int WriteMat3 (const idMat3 &mat)
 

Private Attributes

idStr name
 
idStr fullPath
 
int mode
 
int fileSize
 
FILE * o
 
bool handleSync
 

Friends

class idFileSystemLocal
 

Detailed Description

Definition at line 186 of file File.h.

Constructor & Destructor Documentation

idFile_Permanent::idFile_Permanent ( void  )

Definition at line 1021 of file File.cpp.

idFile_Permanent::~idFile_Permanent ( void  )
virtual

Definition at line 1034 of file File.cpp.

Member Function Documentation

void idFile_Permanent::Flush ( void  )
virtual

Reimplemented from idFile.

Definition at line 1160 of file File.cpp.

void idFile_Permanent::ForceFlush ( void  )
virtual

Reimplemented from idFile.

Definition at line 1151 of file File.cpp.

FILE* idFile_Permanent::GetFilePtr ( void  )
inline

Definition at line 205 of file File.h.

virtual const char* idFile_Permanent::GetFullPath ( void  )
inlinevirtual

Reimplemented from idFile.

Definition at line 194 of file File.h.

virtual const char* idFile_Permanent::GetName ( void  )
inlinevirtual

Reimplemented from idFile.

Definition at line 193 of file File.h.

int idFile_Permanent::Length ( void  )
virtual

Reimplemented from idFile.

Definition at line 1178 of file File.cpp.

int idFile_Permanent::Read ( void buffer,
int  len 
)
virtual

Reimplemented from idFile.

Definition at line 1047 of file File.cpp.

int idFile_Permanent::Seek ( long  offset,
fsOrigin_t  origin 
)
virtual

Reimplemented from idFile.

Definition at line 1198 of file File.cpp.

int idFile_Permanent::Tell ( void  )
virtual

Reimplemented from idFile.

Definition at line 1169 of file File.cpp.

ID_TIME_T idFile_Permanent::Timestamp ( void  )
virtual

Reimplemented from idFile.

Definition at line 1187 of file File.cpp.

int idFile_Permanent::Write ( const void buffer,
int  len 
)
virtual

Reimplemented from idFile.

Definition at line 1099 of file File.cpp.

Friends And Related Function Documentation

friend class idFileSystemLocal
friend

Definition at line 187 of file File.h.

Member Data Documentation

int idFile_Permanent::fileSize
private

Definition at line 211 of file File.h.

idStr idFile_Permanent::fullPath
private

Definition at line 209 of file File.h.

bool idFile_Permanent::handleSync
private

Definition at line 213 of file File.h.

int idFile_Permanent::mode
private

Definition at line 210 of file File.h.

idStr idFile_Permanent::name
private

Definition at line 208 of file File.h.

FILE* idFile_Permanent::o
private

Definition at line 212 of file File.h.


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