File: Poco.Zip.ZipFileInfo.html

package info (click to toggle)
poco-doc 1.3.6-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 10,076 kB
  • ctags: 9,611
  • sloc: makefile: 31
file content (164 lines) | stat: -rw-r--r-- 12,188 bytes parent folder | download | duplicates (2)
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!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::ZipFileInfo</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 ZipFileInfo</h1>
</div>
<div class="body">
<p>
<b>Library:</b> Zip<br />
<b>Package:</b> Zip<br />
<b>Header:</b> Poco/Zip/ZipFileInfo.h</p>
<h2>Description</h2>
<div class="description">
<p>Stores a <a href="Poco.Zip.html" title="namespace Poco::Zip">Zip</a> directory entry of a file </p>
</div>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.Zip.ZipFileInfo.html#20520" title="Poco::Zip::ZipFileInfo::createHeader()">createHeader</a>, <a href="Poco.Zip.ZipFileInfo.html#20501" title="Poco::Zip::ZipFileInfo::getCRC()">getCRC</a>, <a href="Poco.Zip.ZipFileInfo.html#20503" title="Poco::Zip::ZipFileInfo::getCompressedSize()">getCompressedSize</a>, <a href="Poco.Zip.ZipFileInfo.html#20498" title="Poco::Zip::ZipFileInfo::getCompressionMethod()">getCompressionMethod</a>, <a href="Poco.Zip.ZipFileInfo.html#20518" title="Poco::Zip::ZipFileInfo::getDiskNumberStart()">getDiskNumberStart</a>, <a href="Poco.Zip.ZipFileInfo.html#20509" title="Poco::Zip::ZipFileInfo::getExtraField()">getExtraField</a>, <a href="Poco.Zip.ZipFileInfo.html#20510" title="Poco::Zip::ZipFileInfo::getFileComment()">getFileComment</a>, <a href="Poco.Zip.ZipFileInfo.html#20505" title="Poco::Zip::ZipFileInfo::getFileName()">getFileName</a>, <a href="Poco.Zip.ZipFileInfo.html#20519" title="Poco::Zip::ZipFileInfo::getFileType()">getFileType</a>, <a href="Poco.Zip.ZipFileInfo.html#20502" title="Poco::Zip::ZipFileInfo::getHeaderSize()">getHeaderSize</a>, <a href="Poco.Zip.ZipFileInfo.html#20517" title="Poco::Zip::ZipFileInfo::getHostSystem()">getHostSystem</a>, <a href="Poco.Zip.ZipFileInfo.html#20497" title="Poco::Zip::ZipFileInfo::getRelativeOffsetOfLocalHeader()">getRelativeOffsetOfLocalHeader</a>, <a href="Poco.Zip.ZipFileInfo.html#20514" title="Poco::Zip::ZipFileInfo::getRequiredVersion()">getRequiredVersion</a>, <a href="Poco.Zip.ZipFileInfo.html#20504" title="Poco::Zip::ZipFileInfo::getUncompressedSize()">getUncompressedSize</a>, <a href="Poco.Zip.ZipFileInfo.html#20511" title="Poco::Zip::ZipFileInfo::getVersionMadeBy()">getVersionMadeBy</a>, <a href="Poco.Zip.ZipFileInfo.html#20508" title="Poco::Zip::ZipFileInfo::hasExtraField()">hasExtraField</a>, <a href="Poco.Zip.ZipFileInfo.html#20507" title="Poco::Zip::ZipFileInfo::isDirectory()">isDirectory</a>, <a href="Poco.Zip.ZipFileInfo.html#20499" title="Poco::Zip::ZipFileInfo::isEncrypted()">isEncrypted</a>, <a href="Poco.Zip.ZipFileInfo.html#20506" title="Poco::Zip::ZipFileInfo::isFile()">isFile</a>, <a href="Poco.Zip.ZipFileInfo.html#20500" title="Poco::Zip::ZipFileInfo::lastModifiedAt()">lastModifiedAt</a>, <a href="Poco.Zip.ZipFileInfo.html#20521" title="Poco::Zip::ZipFileInfo::setOffset()">setOffset</a></p>
<h2>Constructors</h2>
<h3><a name="20491">ZipFileInfo</a></h3>
<p class="decl"><a href="Poco.Zip.ZipFileInfo.html" title="class Poco::Zip::ZipFileInfo">ZipFileInfo</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.Zip.ZipLocalFileHeader.html" title="class Poco::Zip::ZipLocalFileHeader">ZipLocalFileHeader</a> &amp; header<br />);</p>
<div class="description">
<p>Creates a <a href="Poco.Zip.ZipFileInfo.html" title="class Poco::Zip::ZipFileInfo">ZipFileInfo</a> from a <a href="Poco.Zip.ZipLocalFileHeader.html" title="class Poco::Zip::ZipLocalFileHeader">ZipLocalFileHeader</a> </p>
</div>
<h3><a name="20493">ZipFileInfo</a></h3>
<p class="decl"><a href="Poco.Zip.ZipFileInfo.html" title="class Poco::Zip::ZipFileInfo">ZipFileInfo</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::istream &amp; in,<br />&nbsp;&nbsp;&nbsp;&nbsp;bool assumeHeaderRead<br />);</p>
<div class="description">
<p>Creates the <a href="Poco.Zip.ZipFileInfo.html" title="class Poco::Zip::ZipFileInfo">ZipFileInfo</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="20496">~ZipFileInfo</a></h3>
<p class="decl">~<a href="Poco.Zip.ZipFileInfo.html" title="class Poco::Zip::ZipFileInfo">ZipFileInfo</a>();</p>
<div class="description">
<p>Destroys the <a href="Poco.Zip.ZipFileInfo.html" title="class Poco::Zip::ZipFileInfo">ZipFileInfo</a>. </p>
</div>
<h2>Member Functions</h2>
<h3><a name="20520">createHeader</a></h3>
<p class="decl">std::string createHeader() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20501">getCRC</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> getCRC() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20503">getCompressedSize</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> getCompressedSize() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20498">getCompressionMethod</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Zip.ZipCommon.html#20371" title="enum  Poco::Zip::ZipCommon::CompressionMethod">ZipCommon::CompressionMethod</a> getCompressionMethod() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20518">getDiskNumberStart</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> getDiskNumberStart() const;</p>
<div class="description">
<p>The number of the disk on which this file begins (multidisk archives) </p>
</div>
<h3><a name="20509">getExtraField</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const std::string &amp; getExtraField() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20510">getFileComment</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const std::string &amp; getFileComment() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20505">getFileName</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const std::string &amp; getFileName() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20519">getFileType</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Zip.ZipCommon.html#20409" title="enum  Poco::Zip::ZipCommon::FileType">ZipCommon::FileType</a> getFileType() const;</p>
<div class="description">
<p>Binary or ASCII file? </p>
</div>
<h3><a name="20502">getHeaderSize</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> getHeaderSize() const;</p>
<div class="description">
<p>Returns the total size of the header including filename + other additional fields </p>
</div>
<h3><a name="20517">getHostSystem</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Zip.ZipCommon.html#20389" title="enum  Poco::Zip::ZipCommon::HostSystem">ZipCommon::HostSystem</a> getHostSystem() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20497">getRelativeOffsetOfLocalHeader</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> getRelativeOffsetOfLocalHeader() const;</p>
<div class="description">
<p>Where on the disk starts the localheader. Combined with the disk number gives the exact location of the header </p>
</div>
<h3><a name="20514">getRequiredVersion</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void getRequiredVersion(<br />&nbsp;&nbsp;&nbsp;&nbsp;int &amp; major,<br />&nbsp;&nbsp;&nbsp;&nbsp;int &amp; minor<br />);</p>
<div class="description">
<p>The minimum version required to extract the data </p>
</div>
<h3><a name="20504">getUncompressedSize</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> getUncompressedSize() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20511">getVersionMadeBy</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void getVersionMadeBy(<br />&nbsp;&nbsp;&nbsp;&nbsp;int &amp; major,<br />&nbsp;&nbsp;&nbsp;&nbsp;int &amp; minor<br />);</p>
<div class="description">
<p>The ZIP version used to create the file </p>
</div>
<h3><a name="20508">hasExtraField</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool hasExtraField() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20507">isDirectory</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool isDirectory() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20499">isEncrypted</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool isEncrypted() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20506">isFile</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool isFile() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20500">lastModifiedAt</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const <a href="Poco.DateTime.html" title="class Poco::DateTime">Poco::DateTime</a> &amp; lastModifiedAt() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="20521">setOffset</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void setOffset(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> val<br />);</p>
<div class="description">
<p></p>
</div>
<h2>Variables</h2>
<h3><a name="20490">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.ZipFileInfo.html#20490" title="Poco::Zip::ZipFileInfo::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 &copy; 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p>

</div>
</body>
</html>