doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
idCompressor_None Class Reference
Inheritance diagram for idCompressor_None:
idCompressor idFile idCompressor_BitStream idCompressor_Huffman idCompressor_Arithmetic idCompressor_LZSS idCompressor_LZW idCompressor_RunLength idCompressor_RunLength_ZeroBased idCompressor_LZSS_WordAligned

Public Member Functions

 idCompressor_None (void)
 
void Init (idFile *f, bool compress, int wordLength)
 
void FinishCompress (void)
 
float GetCompressionRatio (void) const
 
const char * GetName (void)
 
const char * GetFullPath (void)
 
int Read (void *outData, int outLength)
 
int Write (const void *inData, int inLength)
 
int Length (void)
 
ID_TIME_T Timestamp (void)
 
int Tell (void)
 
void ForceFlush (void)
 
void Flush (void)
 
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)
 

Protected Attributes

idFilefile
 
bool compress
 

Additional Inherited Members

- Static Public Member Functions inherited from idCompressor
static idCompressorAllocNoCompression (void)
 
static idCompressorAllocBitStream (void)
 
static idCompressorAllocRunLength (void)
 
static idCompressorAllocRunLength_ZeroBased (void)
 
static idCompressorAllocHuffman (void)
 
static idCompressorAllocArithmetic (void)
 
static idCompressorAllocLZSS (void)
 
static idCompressorAllocLZSS_WordAligned (void)
 
static idCompressorAllocLZW (void)
 

Detailed Description

Definition at line 40 of file Compressor.cpp.

Constructor & Destructor Documentation

idCompressor_None::idCompressor_None ( void  )

Definition at line 69 of file Compressor.cpp.

Member Function Documentation

void idCompressor_None::FinishCompress ( void  )
virtual
void idCompressor_None::Flush ( void  )
virtual

Implements idCompressor.

Definition at line 206 of file Compressor.cpp.

void idCompressor_None::ForceFlush ( void  )
virtual

Implements idCompressor.

Definition at line 195 of file Compressor.cpp.

float idCompressor_None::GetCompressionRatio ( void  ) const
virtual

Implements idCompressor.

Reimplemented in idCompressor_Huffman, and idCompressor_BitStream.

Definition at line 97 of file Compressor.cpp.

const char * idCompressor_None::GetFullPath ( void  )
virtual

Implements idCompressor.

Definition at line 119 of file Compressor.cpp.

const char * idCompressor_None::GetName ( void  )
virtual

Implements idCompressor.

Definition at line 106 of file Compressor.cpp.

void idCompressor_None::Init ( idFile f,
bool  compress,
int  wordLength 
)
virtual
int idCompressor_None::Length ( void  )
virtual

Implements idCompressor.

Definition at line 156 of file Compressor.cpp.

int idCompressor_None::Read ( void outData,
int  outLength 
)
virtual
int idCompressor_None::Seek ( long  offset,
fsOrigin_t  origin 
)
virtual

Implements idCompressor.

Definition at line 217 of file Compressor.cpp.

int idCompressor_None::Tell ( void  )
virtual

Implements idCompressor.

Definition at line 182 of file Compressor.cpp.

ID_TIME_T idCompressor_None::Timestamp ( void  )
virtual

Implements idCompressor.

Definition at line 169 of file Compressor.cpp.

int idCompressor_None::Write ( const void inData,
int  inLength 
)
virtual

Member Data Documentation

bool idCompressor_None::compress
protected

Definition at line 61 of file Compressor.cpp.

idFile* idCompressor_None::file
protected

Definition at line 60 of file Compressor.cpp.


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