.TH "zipios::ZipCDirEntry" 3 "Tue May 9 2017" "Zipios++" \" -*- nroff -*- .ad l .nh .SH NAME zipios::ZipCDirEntry \- Specialization of \fBZipLocalEntry\fP, that add fields for storing the extra information, that is only present in the entries in the zip central directory and not in the local entry headers\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBzipios::ZipLocalEntry\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBZipCDirEntry\fP (const string &_filename='', const string &_file_comment='', const vector< unsigned char > &_extra_field=vector< unsigned char >())" .br .ti -1c .RI "void \fBsetDefaultWriter\fP ()" .br .ti -1c .RI "\fBZipCDirEntry\fP & \fBoperator=\fP (const class \fBZipCDirEntry\fP &src)" .br .ti -1c .RI "virtual string \fBtoString\fP () const" .br .RI "Returns a human-readable string representation of the entry\&. " .ti -1c .RI "virtual string \fBgetComment\fP () const" .br .RI "Returns the comment of the entry, if it has one\&. " .ti -1c .RI "virtual void \fBsetComment\fP (const string &comment)" .br .RI "Sets the comment field for the \fBFileEntry\fP\&. " .ti -1c .RI "virtual uint32 \fBgetLocalHeaderOffset\fP () const" .br .ti -1c .RI "virtual void \fBsetLocalHeaderOffset\fP (uint32 offset)" .br .ti -1c .RI "int \fBgetCDirHeaderSize\fP () const" .br .ti -1c .RI "virtual \fBFileEntry\fP * \fBclone\fP () const" .br .RI "Create a heap allocated clone of the object this method is called for\&. " .in -1c .SS "Friends" .in +1c .ti -1c .RI "istream & \fBoperator>>\fP (istream &is, \fBZipCDirEntry\fP &zcdh)" .br .ti -1c .RI "ostream & \fBoperator<<\fP (ostream &os, const \fBZipCDirEntry\fP &zcdh)" .br .ti -1c .RI "bool \fBoperator==\fP (const \fBZipLocalEntry\fP &zlh, const \fBZipCDirEntry\fP &ze)" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP Specialization of \fBZipLocalEntry\fP, that add fields for storing the extra information, that is only present in the entries in the zip central directory and not in the local entry headers\&. .PP Definition at line 102 of file ziphead\&.h\&. .SH "Member Function Documentation" .PP .SS "\fBFileEntry\fP * zipios::ZipCDirEntry::clone () const\fC [virtual]\fP" .PP Create a heap allocated clone of the object this method is called for\&. The caller is responsible for deallocating the clone when he is done with it\&. .PP \fBReturns:\fP .RS 4 A heap allocated copy of the object this method is called for\&. .RE .PP .PP Reimplemented from \fBzipios::ZipLocalEntry\fP\&. .PP Definition at line 231 of file ziphead\&.cpp\&. .SS "string zipios::ZipCDirEntry::getComment () const\fC [virtual]\fP" .PP Returns the comment of the entry, if it has one\&. Otherwise it returns an empty string\&. .PP \fBReturns:\fP .RS 4 the comment associated with the entry, if there is one\&. .RE .PP .PP Reimplemented from \fBzipios::ZipLocalEntry\fP\&. .PP Definition at line 199 of file ziphead\&.cpp\&. .SS "void zipios::ZipCDirEntry::setComment (const string & comment)\fC [virtual]\fP" .PP Sets the comment field for the \fBFileEntry\fP\&. .PP \fBParameters:\fP .RS 4 \fIcomment\fP string with the new comment\&. .RE .PP .PP Reimplemented from \fBzipios::ZipLocalEntry\fP\&. .PP Definition at line 212 of file ziphead\&.cpp\&. .SS "string zipios::ZipCDirEntry::toString () const\fC [virtual]\fP" .PP Returns a human-readable string representation of the entry\&. .PP \fBReturns:\fP .RS 4 a human-readable string representation of the entry\&. .RE .PP .PP Reimplemented from \fBzipios::ZipLocalEntry\fP\&. .PP Definition at line 218 of file ziphead\&.cpp\&. .SH "Author" .PP Generated automatically by Doxygen for Zipios++ from the source code\&.