#include <MercuryFiles.h>
Inheritance diagram for MercuryFileObjectZipped:


Public Member Functions | |
| virtual | ~MercuryFileObjectZipped () |
| virtual bool | Init (const MString &fName, FilePermission p, const MString &base, unsigned offset, unsigned size, unsigned packedsize, unsigned decompID) |
| virtual bool | MemFileInit (const MString &sName, const char *pData, unsigned long iSize) |
| virtual bool | Seek (unsigned long position) |
| Set the current seek position. | |
| virtual void | Close () |
| Close the file. | |
| virtual unsigned long | Tell () |
| Return the current seek position. | |
| virtual unsigned long | Length () |
| Return the length of the file (in bytes). | |
| virtual bool | Write (void *data, unsigned long length) |
| Writes length bytes, returns true if it wrote successfully. | |
| virtual unsigned long | Read (void *data, unsigned long length) |
| Returns the number of bytes read. | |
| virtual bool | Check () |
| Returns non-zero value if there's an error. | |
| virtual bool | Eof () |
| Return true if end of file. | |
Private Attributes | |
| unsigned long | m_size |
| unsigned long | m_location |
| bool | m_bIsDummy |
| char * | m_Buffer |
Definition at line 99 of file MercuryFiles.h.
| MercuryFileObjectZipped::~MercuryFileObjectZipped | ( | ) | [virtual] |
Definition at line 741 of file MercuryFiles.cpp.
| bool MercuryFileObjectZipped::Init | ( | const MString & | fName, | |
| FilePermission | p, | |||
| const MString & | base, | |||
| unsigned | offset, | |||
| unsigned | size, | |||
| unsigned | packedsize, | |||
| unsigned | decompID | |||
| ) | [virtual] |
Definition at line 746 of file MercuryFiles.cpp.
| bool MercuryFileObjectZipped::MemFileInit | ( | const MString & | sName, | |
| const char * | pData, | |||
| unsigned long | iSize | |||
| ) | [virtual] |
Definition at line 815 of file MercuryFiles.cpp.
| bool MercuryFileObjectZipped::Seek | ( | unsigned long | position | ) | [virtual] |
Set the current seek position.
Implements MercuryFile.
Definition at line 827 of file MercuryFiles.cpp.
| void MercuryFileObjectZipped::Close | ( | ) | [virtual] |
| unsigned long MercuryFileObjectZipped::Tell | ( | ) | [virtual] |
Return the current seek position.
Implements MercuryFile.
Definition at line 835 of file MercuryFiles.cpp.
| unsigned long MercuryFileObjectZipped::Length | ( | ) | [virtual] |
Return the length of the file (in bytes).
Implements MercuryFile.
Definition at line 840 of file MercuryFiles.cpp.
| bool MercuryFileObjectZipped::Write | ( | void * | data, | |
| unsigned long | length | |||
| ) | [virtual] |
Writes length bytes, returns true if it wrote successfully.
Implements MercuryFile.
Definition at line 845 of file MercuryFiles.cpp.
| unsigned long MercuryFileObjectZipped::Read | ( | void * | data, | |
| unsigned long | length | |||
| ) | [virtual] |
Returns the number of bytes read.
Implements MercuryFile.
Definition at line 851 of file MercuryFiles.cpp.
| bool MercuryFileObjectZipped::Check | ( | ) | [virtual] |
Returns non-zero value if there's an error.
Implements MercuryFile.
Definition at line 864 of file MercuryFiles.cpp.
| bool MercuryFileObjectZipped::Eof | ( | ) | [virtual] |
Return true if end of file.
Implements MercuryFile.
Definition at line 872 of file MercuryFiles.cpp.
unsigned long MercuryFileObjectZipped::m_size [private] |
Definition at line 114 of file MercuryFiles.h.
unsigned long MercuryFileObjectZipped::m_location [private] |
Definition at line 115 of file MercuryFiles.h.
bool MercuryFileObjectZipped::m_bIsDummy [private] |
Definition at line 117 of file MercuryFiles.h.
char* MercuryFileObjectZipped::m_Buffer [private] |
Definition at line 120 of file MercuryFiles.h.