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_InZip Class Reference

#include <File.h>

Inheritance diagram for idFile_InZip:
idFile

Public Member Functions

 idFile_InZip (void)
 
virtual ~idFile_InZip (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)
 
- 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 zipFilePos
 
int fileSize
 
voidz
 

Friends

class idFileSystemLocal
 

Detailed Description

Definition at line 217 of file File.h.

Constructor & Destructor Documentation

idFile_InZip::idFile_InZip ( void  )

Definition at line 1238 of file File.cpp.

idFile_InZip::~idFile_InZip ( void  )
virtual

Definition at line 1250 of file File.cpp.

Member Function Documentation

void idFile_InZip::Flush ( void  )
virtual

Reimplemented from idFile.

Definition at line 1292 of file File.cpp.

void idFile_InZip::ForceFlush ( void  )
virtual

Reimplemented from idFile.

Definition at line 1283 of file File.cpp.

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

Reimplemented from idFile.

Definition at line 225 of file File.h.

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

Reimplemented from idFile.

Definition at line 224 of file File.h.

int idFile_InZip::Length ( void  )
virtual

Reimplemented from idFile.

Definition at line 1310 of file File.cpp.

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

Reimplemented from idFile.

Definition at line 1262 of file File.cpp.

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

Reimplemented from idFile.

Definition at line 1332 of file File.cpp.

int idFile_InZip::Tell ( void  )
virtual

Reimplemented from idFile.

Definition at line 1301 of file File.cpp.

ID_TIME_T idFile_InZip::Timestamp ( void  )
virtual

Reimplemented from idFile.

Definition at line 1319 of file File.cpp.

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

Reimplemented from idFile.

Definition at line 1273 of file File.cpp.

Friends And Related Function Documentation

friend class idFileSystemLocal
friend

Definition at line 218 of file File.h.

Member Data Documentation

int idFile_InZip::fileSize
private

Definition at line 239 of file File.h.

idStr idFile_InZip::fullPath
private

Definition at line 237 of file File.h.

idStr idFile_InZip::name
private

Definition at line 236 of file File.h.

void* idFile_InZip::z
private

Definition at line 240 of file File.h.

int idFile_InZip::zipFilePos
private

Definition at line 238 of file File.h.


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