File entry in zip file. More...

#include <zip_file_entry.h>

Public Member Functions

 ZipFileEntry ()
 
 ZipFileEntry (const ZipFileEntry &copy)
 Constructs a ZipFileEntry. More...
 
 ~ZipFileEntry ()
 
std::string get_archive_filename () const
 Returns the filename of file entry. More...
 
int64_t get_compressed_size ()
 Returns the compressed size of file entry. More...
 
std::string get_input_filename () const
 Returns the filename of file entry. More...
 
int64_t get_uncompressed_size ()
 Returns the uncompressed size of file entry. More...
 
bool is_directory () const
 Is Directory. More...
 
ZipFileEntryoperator= (const ZipFileEntry &copy)
 Copy assignment operator. More...
 
void set_archive_filename (const std::string &filename)
 Sets the filename of the file inside the archive. More...
 
void set_directory (bool is_directory)
 Set directory. More...
 
void set_input_filename (const std::string &filename)
 Sets the filename of the file to be added to the archive. More...
 

Friends

class ZipArchive
 
class ZipIODevice_FileEntry
 

Detailed Description

File entry in zip file.

Constructor & Destructor Documentation

clan::ZipFileEntry::ZipFileEntry ( )
clan::ZipFileEntry::ZipFileEntry ( const ZipFileEntry copy)

Constructs a ZipFileEntry.

Parameters
copy= Zip File Entry
clan::ZipFileEntry::~ZipFileEntry ( )

Member Function Documentation

std::string clan::ZipFileEntry::get_archive_filename ( ) const

Returns the filename of file entry.

int64_t clan::ZipFileEntry::get_compressed_size ( )

Returns the compressed size of file entry.

std::string clan::ZipFileEntry::get_input_filename ( ) const

Returns the filename of file entry.

int64_t clan::ZipFileEntry::get_uncompressed_size ( )

Returns the uncompressed size of file entry.

bool clan::ZipFileEntry::is_directory ( ) const

Is Directory.

Returns
true = directory
ZipFileEntry& clan::ZipFileEntry::operator= ( const ZipFileEntry copy)

Copy assignment operator.

void clan::ZipFileEntry::set_archive_filename ( const std::string filename)

Sets the filename of the file inside the archive.

void clan::ZipFileEntry::set_directory ( bool  is_directory)

Set directory.

Parameters
is_directory= bool
void clan::ZipFileEntry::set_input_filename ( const std::string filename)

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

Friends And Related Function Documentation

friend class ZipArchive
friend
friend class ZipIODevice_FileEntry
friend

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