CL_ZipWriter Class Reference
[clanCore I/O Data]

Zip file writer. More...

#include <zip_writer.h>

List of all members.

Public Member Functions

Construction
 CL_ZipWriter (CL_IODevice &output, bool storeFilenamesAsUTF8=false)
 Constructs a ZipWriter.
Operations
void begin_file (const CL_StringRef &filename, bool compress)
 Begins file entry in the zip file.
void write_file_data (const void *data, cl_int64 size)
 Writes some file data to the zip file.
void end_file ()
 Ends the file entry.
void write_toc ()
 Writes the table of contents part of the zip file.


Detailed Description

Zip file writer.


Constructor & Destructor Documentation

CL_ZipWriter::CL_ZipWriter CL_IODevice output,
bool  storeFilenamesAsUTF8 = false
 

Constructs a ZipWriter.

Parameters:
output = IODevice
storeFilenamesAsUTF8 = bool


Member Function Documentation

void CL_ZipWriter::begin_file const CL_StringRef filename,
bool  compress
 

Begins file entry in the zip file.

void CL_ZipWriter::end_file  ) 
 

Ends the file entry.

void CL_ZipWriter::write_file_data const void *  data,
cl_int64  size
 

Writes some file data to the zip file.

void CL_ZipWriter::write_toc  ) 
 

Writes the table of contents part of the zip file.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:43 2009 for ClanLib by  doxygen 1.4.6