1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Class Poco::Zip::ZipArchiveInfo</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="language" content="en"/>
<meta name="date" content="2009-11-24"/>
<meta name="generator" content="PocoDoc"/>
<link rel="stylesheet" href="css/styles.css" type="text/css"/>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0">
<div class="header">
<h1 class="namespace"><a href="Poco.Zip.html" class="namespace">Poco::Zip</a></h1>
<h1 class="symbol">class ZipArchiveInfo</h1>
</div>
<div class="body">
<p>
<b>Library:</b> Zip<br />
<b>Package:</b> Zip<br />
<b>Header:</b> Poco/Zip/ZipArchiveInfo.h</p>
<h2>Description</h2>
<div class="description">
<p>A <a href="Poco.Zip.ZipArchiveInfo.html" title="class Poco::Zip::ZipArchiveInfo">ZipArchiveInfo</a> stores central directory info </p>
</div>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.Zip.ZipArchiveInfo.html#20343" title="Poco::Zip::ZipArchiveInfo::createHeader()">createHeader</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20330" title="Poco::Zip::ZipArchiveInfo::getCentralDirectorySize()">getCentralDirectorySize</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20326" title="Poco::Zip::ZipArchiveInfo::getDiskNumber()">getDiskNumber</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20327" title="Poco::Zip::ZipArchiveInfo::getFirstDiskForDirectoryHeader()">getFirstDiskForDirectoryHeader</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20331" title="Poco::Zip::ZipArchiveInfo::getHeaderOffset()">getHeaderOffset</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20328" title="Poco::Zip::ZipArchiveInfo::getNumberOfEntries()">getNumberOfEntries</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20329" title="Poco::Zip::ZipArchiveInfo::getTotalNumberOfEntries()">getTotalNumberOfEntries</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20332" title="Poco::Zip::ZipArchiveInfo::getZipComment()">getZipComment</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20339" title="Poco::Zip::ZipArchiveInfo::setCentralDirectorySize()">setCentralDirectorySize</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20341" title="Poco::Zip::ZipArchiveInfo::setHeaderOffset()">setHeaderOffset</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20335" title="Poco::Zip::ZipArchiveInfo::setNumberOfEntries()">setNumberOfEntries</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20337" title="Poco::Zip::ZipArchiveInfo::setTotalNumberOfEntries()">setTotalNumberOfEntries</a>, <a href="Poco.Zip.ZipArchiveInfo.html#20333" title="Poco::Zip::ZipArchiveInfo::setZipComment()">setZipComment</a></p>
<h2>Constructors</h2>
<h3><a name="20321">ZipArchiveInfo</a></h3>
<p class="decl"><a href="Poco.Zip.ZipArchiveInfo.html" title="class Poco::Zip::ZipArchiveInfo">ZipArchiveInfo</a>();</p>
<div class="description">
<p>Default constructor, everything set to zero or empty </p>
</div>
<h3><a name="20322">ZipArchiveInfo</a></h3>
<p class="decl"><a href="Poco.Zip.ZipArchiveInfo.html" title="class Poco::Zip::ZipArchiveInfo">ZipArchiveInfo</a>(<br /> std::istream & in,<br /> bool assumeHeaderRead<br />);</p>
<div class="description">
<p>Creates the <a href="Poco.Zip.ZipArchiveInfo.html" title="class Poco::Zip::ZipArchiveInfo">ZipArchiveInfo</a> by parsing the input stream. If assumeHeaderRead is true we assume that the first 4 bytes were already read outside. </p>
</div>
<h2>Destructor</h2>
<h3><a name="20325">~ZipArchiveInfo</a></h3>
<p class="decl">~<a href="Poco.Zip.ZipArchiveInfo.html" title="class Poco::Zip::ZipArchiveInfo">ZipArchiveInfo</a>();</p>
<div class="description">
<p>Destroys the <a href="Poco.Zip.ZipArchiveInfo.html" title="class Poco::Zip::ZipArchiveInfo">ZipArchiveInfo</a>. </p>
</div>
<h2>Member Functions</h2>
<h3><a name="20343">createHeader</a></h3>
<p class="decl">std::string createHeader() const;</p>
<div class="description">
<p>Creates a header </p>
</div>
<h3><a name="20330">getCentralDirectorySize</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> getCentralDirectorySize() const;</p>
<div class="description">
<p>Returns the size of the central directory in bytes </p>
</div>
<h3><a name="20326">getDiskNumber</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.html#11352" title="Poco::UInt16">Poco::UInt16</a> getDiskNumber() const;</p>
<div class="description">
<p>Get the number of the disk where this header can be found </p>
</div>
<h3><a name="20327">getFirstDiskForDirectoryHeader</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.html#11352" title="Poco::UInt16">Poco::UInt16</a> getFirstDiskForDirectoryHeader() const;</p>
<div class="description">
<p>Returns the number of the disk that contains the start of the directory header </p>
</div>
<h3><a name="20331">getHeaderOffset</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">std::streamoff getHeaderOffset() const;</p>
<div class="description">
<p>Returns the offset of the header in relation to the begin of this disk </p>
</div>
<h3><a name="20328">getNumberOfEntries</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.html#11352" title="Poco::UInt16">Poco::UInt16</a> getNumberOfEntries() const;</p>
<div class="description">
<p>Returns the number of entries on this disk </p>
</div>
<h3><a name="20329">getTotalNumberOfEntries</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.html#11352" title="Poco::UInt16">Poco::UInt16</a> getTotalNumberOfEntries() const;</p>
<div class="description">
<p>Returns the total number of entries on all disks </p>
</div>
<h3><a name="20332">getZipComment</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const std::string & getZipComment() const;</p>
<div class="description">
<p>Returns the (optional) <a href="Poco.Zip.html" title="namespace Poco::Zip">Zip</a> Comment </p>
</div>
<h3><a name="20339">setCentralDirectorySize</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void setCentralDirectorySize(<br /> <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> val<br />);</p>
<div class="description">
<p>Returns the size of the central directory in bytes </p>
</div>
<h3><a name="20341">setHeaderOffset</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void setHeaderOffset(<br /> <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> val<br />);</p>
<div class="description">
<p></p>
</div>
<h3><a name="20335">setNumberOfEntries</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void setNumberOfEntries(<br /> <a href="Poco.html#11352" title="Poco::UInt16">Poco::UInt16</a> val<br />);</p>
<div class="description">
<p>Returns the number of entries on this disk </p>
</div>
<h3><a name="20337">setTotalNumberOfEntries</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void setTotalNumberOfEntries(<br /> <a href="Poco.html#11352" title="Poco::UInt16">Poco::UInt16</a> val<br />);</p>
<div class="description">
<p>Returns the total number of entries on all disks </p>
</div>
<h3><a name="20333">setZipComment</a></h3>
<p class="decl">void setZipComment(<br /> const std::string & comment<br />);</p>
<div class="description">
<p>Sets the optional <a href="Poco.Zip.html" title="namespace Poco::Zip">Zip</a> comment. </p>
</div>
<h2>Variables</h2>
<h3><a name="20320">HEADER</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static const char <a href="Poco.Zip.ZipArchiveInfo.html#20320" title="Poco::Zip::ZipArchiveInfo::HEADER">HEADER</a>[<a href="Poco.Zip.ZipCommon.html#20370" title="Poco::Zip::ZipCommon::HEADER_SIZE">ZipCommon::HEADER_SIZE</a>];</p>
<div class="description">
<p></p>
</div>
<p class="footer">POCO C++ Libraries 1.3.6-all<br />
Copyright © 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p>
</div>
</body>
</html>
|