ClanLib  2.3.7
List of all members
CL_ZipFileEntry Class Reference

File entry in zip file. More...

#include <zip_file_entry.h>

Public Member Functions

Construction
 CL_ZipFileEntry ()
 
 CL_ZipFileEntry (const CL_ZipFileEntry &copy)
 Constructs a ZipFileEntry. More...
 
 ~CL_ZipFileEntry ()
 
Attributes
CL_StringRef get_archive_filename () const
 Returns the filename of file entry. More...
 
CL_StringRef get_input_filename () const
 Returns the filename of file entry. More...
 
cl_byte64 get_uncompressed_size ()
 Returns the uncompressed size of file entry. More...
 
cl_byte64 get_compressed_size ()
 Returns the compressed size of file entry. More...
 
bool is_directory () const
 Is Directory. More...
 
Operations
CL_ZipFileEntryoperator= (const CL_ZipFileEntry &copy)
 Copy assignment operator. More...
 
void set_input_filename (const CL_StringRef &filename)
 Sets the filename of the file to be added to the archive. More...
 
void set_archive_filename (const CL_StringRef &filename)
 Sets the filename of the file inside the archive. More...
 
void set_directory (bool is_directory)
 Set directory. More...
 

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: