CL_ZipFileEntry Class Reference
[clanCore I/O Data]

File entry in zip file. More...

#include <zip_file_entry.h>

List of all members.

Public Member Functions

Construction

 CL_ZipFileEntry ()
 CL_ZipFileEntry (const CL_ZipFileEntry &copy)
 Constructs a ZipFileEntry.
 ~CL_ZipFileEntry ()
Attributes

CL_StringRef get_archive_filename () const
 Returns the filename of file entry.
CL_StringRef get_input_filename () const
 Returns the filename of file entry.
cl_byte64 get_uncompressed_size ()
 Returns the uncompressed size of file entry.
cl_byte64 get_compressed_size ()
 Returns the compressed size of file entry.
bool is_directory () const
 Is Directory.
Operations

CL_ZipFileEntryoperator= (const CL_ZipFileEntry &copy)
 Copy assignment operator.
void set_input_filename (const CL_StringRef &filename)
 Sets the filename of the file to be added to the archive.
void set_archive_filename (const CL_StringRef &filename)
 Sets the filename of the file inside the archive.
void set_directory (bool is_directory)
 Set directory.

Implementation



class CL_ZipArchive
class CL_ZipIODevice_FileEntry

Detailed Description

File entry in zip file.


Constructor & Destructor Documentation

CL_ZipFileEntry::CL_ZipFileEntry (  ) 
CL_ZipFileEntry::CL_ZipFileEntry ( const CL_ZipFileEntry copy  ) 

Constructs a ZipFileEntry.

Parameters:
copy = Zip File Entry
CL_ZipFileEntry::~CL_ZipFileEntry (  ) 

Member Function Documentation

CL_StringRef CL_ZipFileEntry::get_archive_filename (  )  const

Returns the filename of file entry.

cl_byte64 CL_ZipFileEntry::get_compressed_size (  ) 

Returns the compressed size of file entry.

CL_StringRef CL_ZipFileEntry::get_input_filename (  )  const

Returns the filename of file entry.

cl_byte64 CL_ZipFileEntry::get_uncompressed_size (  ) 

Returns the uncompressed size of file entry.

bool CL_ZipFileEntry::is_directory (  )  const

Is Directory.

Returns:
true = directory
CL_ZipFileEntry& CL_ZipFileEntry::operator= ( const CL_ZipFileEntry copy  ) 

Copy assignment operator.

void CL_ZipFileEntry::set_archive_filename ( const CL_StringRef filename  ) 

Sets the filename of the file inside the archive.

void CL_ZipFileEntry::set_directory ( bool  is_directory  ) 

Set directory.

Parameters:
is_directory = bool
void CL_ZipFileEntry::set_input_filename ( const CL_StringRef filename  ) 

Sets the filename of the file to be added to the archive.


Friends And Related Function Documentation

friend class CL_ZipArchive [friend]
friend class CL_ZipIODevice_FileEntry [friend]

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