My Project
Public Member Functions | Public Attributes | List of all members
ParaEngine::ZipArchiveEntry Class Reference

a single file in zip archive to be written to disk More...

Inheritance diagram for ParaEngine::ZipArchiveEntry:
ParaEngine::CRefCounted

Public Member Functions

void Init (const char *destFilename, const char *filename=NULL)
 
void Init (const char *destFilename, CParaFile *pFile)
 
void SerializeLocalFileHeader (CParaFile &file)
 
void SerializeCentralDirectoryFileHeader (CParaFile &file)
 
bool IsDirectory ()
 
- Public Member Functions inherited from ParaEngine::CRefCounted
void addref () const
 add reference count of the object. More...
 
bool delref () const
 decrease reference count of the object. More...
 
int GetRefCount () const
 get the reference count
 
virtual int Release ()
 
CRefCountedAddToAutoReleasePool ()
 addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More...
 

Public Attributes

SZIPFileHeader m_localFileHeader
 
size_t m_offsetOfCompressedData
 
size_t m_offsetOfSerializedLocalFileHeader
 
std::string m_destFilename
 
std::string m_filename
 
CParaFilem_pFile
 

Additional Inherited Members

- Protected Attributes inherited from ParaEngine::CRefCounted
int m_refcount
 

Detailed Description

a single file in zip archive to be written to disk

Member Function Documentation

§ Init() [1/2]

void ParaEngine::ZipArchiveEntry::Init ( const char *  destFilename,
const char *  filename = NULL 
)
inline
Parameters
destFilenamefilename in zip file
filenamefilename in system. if empty, it means destFilename is a directory.

§ Init() [2/2]

void ParaEngine::ZipArchiveEntry::Init ( const char *  destFilename,
CParaFile pFile 
)
inline
Parameters
destFilenamefilename in zip file
pFilefile data reader.

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