30
40
Inheritance diagram for Exiv2::ExvImage:<p><center><img src="classExiv2_1_1ExvImage__inherit__graph.png" border="0" usemap="#Exiv2_1_1ExvImage__inherit__map" alt="Inheritance graph"></center>
31
41
<map name="Exiv2_1_1ExvImage__inherit__map">
32
<area href="classExiv2_1_1JpegBase.html" shape="rect" coords="7,82,127,106" alt="">
33
<area href="classExiv2_1_1Image.html" shape="rect" coords="17,7,116,31" alt="">
42
<area href="classExiv2_1_1JpegBase.html" shape="rect" coords="7,82,137,106" alt="">
43
<area href="classExiv2_1_1Image.html" shape="rect" coords="17,7,127,31" alt="">
35
45
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Exiv2::ExvImage:<p><center><img src="classExiv2_1_1ExvImage__coll__graph.png" border="0" usemap="#Exiv2_1_1ExvImage__coll__map" alt="Collaboration graph"></center>
36
46
<map name="Exiv2_1_1ExvImage__coll__map">
37
<area href="classExiv2_1_1JpegBase.html" shape="rect" coords="353,439,473,463" alt="">
38
<area href="classExiv2_1_1Image.html" shape="rect" coords="129,348,228,372" alt="">
39
<area href="classExiv2_1_1ExifData.html" shape="rect" coords="357,348,469,372" alt="">
40
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="91,199,219,223" alt="">
41
<area href="classExiv2_1_1Ifd.html" shape="rect" coords="523,199,600,223" alt="">
42
<area href="classExiv2_1_1IptcData.html" shape="rect" coords="5,274,117,298" alt="">
43
<area href="classExiv2_1_1TiffHeader.html" shape="rect" coords="243,199,365,223" alt="">
47
<area href="classExiv2_1_1JpegBase.html" shape="rect" coords="384,439,515,463" alt="">
48
<area href="classExiv2_1_1Image.html" shape="rect" coords="141,348,251,372" alt="">
49
<area href="classExiv2_1_1ExifData.html" shape="rect" coords="387,348,512,372" alt="">
50
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="97,199,239,223" alt="">
51
<area href="classExiv2_1_1Ifd.html" shape="rect" coords="569,199,655,223" alt="">
52
<area href="classExiv2_1_1IptcData.html" shape="rect" coords="5,274,131,298" alt="">
53
<area href="classExiv2_1_1TiffHeader.html" shape="rect" coords="263,199,401,223" alt="">
45
55
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classExiv2_1_1ExvImage-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
47
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
48
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
49
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1ExvImage.html#d5491d94dada45a88e26df873bd4ad4b">ExvImage</a> (<a class="el" href="classExiv2_1_1BasicIo.html#f8f989522925b884d8c9d3a257265fa1">BasicIo::AutoPtr</a> io, bool create)</td></tr>
51
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor that can either open an existing Exv image or create a new image from scratch. If a new image is to be created, any existing data is overwritten. Since the constructor can not return a result, callers should check the <a class="el" href="classExiv2_1_1JpegBase.html#0c44e78e8fd0fdbc403c3a91b4034728">good()</a> method after object construction to determine success or failure. <a href="#d5491d94dada45a88e26df873bd4ad4b"></a><br></td></tr>
52
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="024ad6cda0aa80cfdb47fde56a31b8cd"></a><!-- doxytag: member="Exiv2::ExvImage::~ExvImage" ref="024ad6cda0aa80cfdb47fde56a31b8cd" args="()" -->
53
</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1ExvImage.html#024ad6cda0aa80cfdb47fde56a31b8cd">~ExvImage</a> ()</td></tr>
55
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr>
56
57
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
57
58
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
58
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1ExvImage.html#480b16cd980735218d8fb8c4e7ad19c6">isThisType</a> (<a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> &iIo, bool advance) const </td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1ExvImage.html#12fb0f1171003cd3c64bf990b0371b21">isThisType</a> (<a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> &iIo, bool advance) const</td></tr>
60
<tr><td class="mdescLeft"> </td><td class="mdescRight">Determine if the content of the <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance is of the type supported by this class. <a href="#480b16cd980735218d8fb8c4e7ad19c6"></a><br></td></tr>
61
<tr><td class="mdescLeft"> </td><td class="mdescRight">Determine if the content of the <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance is of the type supported by this class. <a href="#12fb0f1171003cd3c64bf990b0371b21"></a><br></td></tr>
61
62
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
62
63
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1ExvImage.html#c8d38bdde6a43d90e9c5d8ec1eacc7b0">writeHeader</a> (<a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> &oIo) const </td></tr>
72
73
Helper class to access Exiv2 files.
74
75
<hr><h2>Constructor & Destructor Documentation</h2>
75
<a class="anchor" name="d5491d94dada45a88e26df873bd4ad4b"></a><!-- doxytag: member="Exiv2::ExvImage::ExvImage" ref="d5491d94dada45a88e26df873bd4ad4b" args="(BasicIo::AutoPtr io, bool create)" --><p>
76
<table class="mdTable" cellpadding="2" cellspacing="0">
79
<table cellpadding="0" cellspacing="0" border="0">
81
<td class="md" nowrap valign="top">Exiv2::ExvImage::ExvImage </td>
82
<td class="md" valign="top">( </td>
83
<td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1BasicIo.html#f8f989522925b884d8c9d3a257265fa1">BasicIo::AutoPtr</a> </td>
84
<td class="mdname" nowrap> <em>io</em>, </td>
87
<td class="md" nowrap align="right"></td>
89
<td class="md" nowrap>bool </td>
90
<td class="mdname" nowrap> <em>create</em></td>
94
<td class="md">) </td>
95
<td class="md" colspan="2"></td>
101
<table cellspacing="5" cellpadding="0" border="0">
109
Constructor that can either open an existing Exv image or create a new image from scratch. If a new image is to be created, any existing data is overwritten. Since the constructor can not return a result, callers should check the <a class="el" href="classExiv2_1_1JpegBase.html#0c44e78e8fd0fdbc403c3a91b4034728">good()</a> method after object construction to determine success or failure.
111
<dl compact><dt><b>Parameters:</b></dt><dd>
112
<table border="0" cellspacing="2" cellpadding="0">
113
<tr><td valign="top"></td><td valign="top"><em>io</em> </td><td>An auto-pointer that owns a <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance used for reading and writing image metadata. <b>Important:</b> The constructor takes ownership of the passed in <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance through the auto-pointer. Callers should not continue to use the <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance after it is passed to this method. Use the <a class="el" href="classExiv2_1_1Image.html#bf0ec3095733c0dfb73ba1bb4a19591e">Image::io()</a> method to get a temporary reference. </td></tr>
114
<tr><td valign="top"></td><td valign="top"><em>create</em> </td><td>Specifies if an existing image should be read (false) or if a new file should be created (true). </td></tr>
76
<a class="anchor" name="d5491d94dada45a88e26df873bd4ad4b"></a><!-- doxytag: member="Exiv2::ExvImage::ExvImage" ref="d5491d94dada45a88e26df873bd4ad4b" args="(BasicIo::AutoPtr io, bool create)" -->
78
<div class="memproto">
79
<table class="memname">
81
<td class="memname">Exiv2::ExvImage::ExvImage </td>
83
<td class="paramtype"><a class="el" href="classExiv2_1_1BasicIo.html#f8f989522925b884d8c9d3a257265fa1">BasicIo::AutoPtr</a> </td>
84
<td class="paramname"> <em>io</em>, </td>
87
<td class="paramkey"></td>
89
<td class="paramtype">bool </td>
90
<td class="paramname"> <em>create</em></td><td> </td>
95
<td></td><td></td><td width="100%"></td>
102
Constructor that can either open an existing Exv image or create a new image from scratch. If a new image is to be created, any existing data is overwritten. Since the constructor can not return a result, callers should check the <a class="el" href="classExiv2_1_1JpegBase.html#7c366b13d3be7ae6ac2617e818fd488d">good()</a> method after object construction to determine success or failure.
104
<dl compact><dt><b>Parameters:</b></dt><dd>
105
<table border="0" cellspacing="2" cellpadding="0">
106
<tr><td valign="top"></td><td valign="top"><em>io</em> </td><td>An auto-pointer that owns a <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance used for reading and writing image metadata. <b>Important:</b> The constructor takes ownership of the passed in <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance through the auto-pointer. Callers should not continue to use the <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance after it is passed to this method. Use the <a class="el" href="classExiv2_1_1Image.html#8ff6300c3fbf791947b03193c4070323">Image::io()</a> method to get a temporary reference. </td></tr>
107
<tr><td valign="top"></td><td valign="top"><em>create</em> </td><td>Specifies if an existing image should be read (false) or if a new file should be created (true). </td></tr>
113
<a class="anchor" name="d5491d94dada45a88e26df873bd4ad4b"></a><!-- doxytag: member="Exiv2::ExvImage::ExvImage" ref="d5491d94dada45a88e26df873bd4ad4b" args="(BasicIo::AutoPtr io, bool create)" -->
114
<div class="memitem">
115
<div class="memproto">
116
<table class="memname">
118
<td class="memname">Exiv2::ExvImage::ExvImage </td>
120
<td class="paramtype"><a class="el" href="classExiv2_1_1BasicIo.html#f8f989522925b884d8c9d3a257265fa1">BasicIo::AutoPtr</a> </td>
121
<td class="paramname"> <em>io</em>, </td>
124
<td class="paramkey"></td>
126
<td class="paramtype">bool </td>
127
<td class="paramname"> <em>create</em></td><td> </td>
132
<td></td><td></td><td width="100%"></td>
139
Constructor that can either open an existing Exv image or create a new image from scratch. If a new image is to be created, any existing data is overwritten. Since the constructor can not return a result, callers should check the <a class="el" href="classExiv2_1_1JpegBase.html#7c366b13d3be7ae6ac2617e818fd488d">good()</a> method after object construction to determine success or failure.
141
<dl compact><dt><b>Parameters:</b></dt><dd>
142
<table border="0" cellspacing="2" cellpadding="0">
143
<tr><td valign="top"></td><td valign="top"><em>io</em> </td><td>An auto-pointer that owns a <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance used for reading and writing image metadata. <b>Important:</b> The constructor takes ownership of the passed in <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance through the auto-pointer. Callers should not continue to use the <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance after it is passed to this method. Use the <a class="el" href="classExiv2_1_1Image.html#8ff6300c3fbf791947b03193c4070323">Image::io()</a> method to get a temporary reference. </td></tr>
144
<tr><td valign="top"></td><td valign="top"><em>create</em> </td><td>Specifies if an existing image should be read (false) or if a new file should be created (true). </td></tr>
120
150
<hr><h2>Member Function Documentation</h2>
121
<a class="anchor" name="480b16cd980735218d8fb8c4e7ad19c6"></a><!-- doxytag: member="Exiv2::ExvImage::isThisType" ref="480b16cd980735218d8fb8c4e7ad19c6" args="(BasicIo &iIo, bool advance) const " --><p>
122
<table class="mdTable" cellpadding="2" cellspacing="0">
125
<table cellpadding="0" cellspacing="0" border="0">
127
<td class="md" nowrap valign="top">bool Exiv2::ExvImage::isThisType </td>
128
<td class="md" valign="top">( </td>
129
<td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> & </td>
130
<td class="mdname" nowrap> <em>iIo</em>, </td>
133
<td class="md" nowrap align="right"></td>
135
<td class="md" nowrap>bool </td>
136
<td class="mdname" nowrap> <em>advance</em></td>
140
<td class="md">) </td>
141
<td class="md" colspan="2"> const<code> [protected, virtual]</code></td>
151
<a class="anchor" name="12fb0f1171003cd3c64bf990b0371b21"></a><!-- doxytag: member="Exiv2::ExvImage::isThisType" ref="12fb0f1171003cd3c64bf990b0371b21" args="(BasicIo &iIo, bool advance) const" -->
152
<div class="memitem">
153
<div class="memproto">
154
<table class="memname">
156
<td class="memname">virtual bool Exiv2::ExvImage::isThisType </td>
158
<td class="paramtype"><a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> & </td>
159
<td class="paramname"> <em>iIo</em>, </td>
162
<td class="paramkey"></td>
164
<td class="paramtype">bool </td>
165
<td class="paramname"> <em>advance</em></td><td> </td>
170
<td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
147
<table cellspacing="5" cellpadding="0" border="0">
155
177
Determine if the content of the <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance is of the type supported by this class.
161
183
<tr><td valign="top"></td><td valign="top"><em>advance</em> </td><td>Flag indicating whether the position of the io should be advanced by the number of characters read to analyse the data (true) or left at its original position (false). This applies only if the type matches. </td></tr>
164
<dl compact><dt><b>Returns:</b></dt><dd>true if the data matches the type of this class;<br>
186
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the data matches the type of this class;<br>
165
187
false if the data does not match </dd></dl>
168
Implements <a class="el" href="classExiv2_1_1JpegBase.html#ad464a055fd28f2f0e9f99af3967f208">Exiv2::JpegBase</a>. </td>
171
<a class="anchor" name="c8d38bdde6a43d90e9c5d8ec1eacc7b0"></a><!-- doxytag: member="Exiv2::ExvImage::writeHeader" ref="c8d38bdde6a43d90e9c5d8ec1eacc7b0" args="(BasicIo &oIo) const " --><p>
172
<table class="mdTable" cellpadding="2" cellspacing="0">
175
<table cellpadding="0" cellspacing="0" border="0">
190
Implements <a class="el" href="classExiv2_1_1JpegBase.html#552e528a90073b6cdfcd8097f46e4b5b">Exiv2::JpegBase</a>.
193
<a class="anchor" name="c8d38bdde6a43d90e9c5d8ec1eacc7b0"></a><!-- doxytag: member="Exiv2::ExvImage::writeHeader" ref="c8d38bdde6a43d90e9c5d8ec1eacc7b0" args="(BasicIo &oIo) const " -->
194
<div class="memitem">
195
<div class="memproto">
196
<table class="memname">
177
<td class="md" nowrap valign="top">int Exiv2::ExvImage::writeHeader </td>
178
<td class="md" valign="top">( </td>
179
<td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> & </td>
180
<td class="mdname1" valign="top" nowrap> <em>oIo</em> </td>
181
<td class="md" valign="top"> ) </td>
182
<td class="md" nowrap> const<code> [protected, virtual]</code></td>
198
<td class="memname">int Exiv2::ExvImage::writeHeader </td>
200
<td class="paramtype"><a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> & </td>
201
<td class="paramname"> <em>oIo</em> </td>
202
<td> ) </td>
203
<td width="100%"> const<code> [protected, virtual]</code></td>
188
<table cellspacing="5" cellpadding="0" border="0">
196
210
Writes the image header (aka signature) to the <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance.
200
214
<tr><td valign="top"></td><td valign="top"><em>oIo</em> </td><td><a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance that the header is written to. </td></tr>
203
<dl compact><dt><b>Returns:</b></dt><dd>0 if successful;<br>
217
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if successful;<br>
204
218
4 if the output file can not be written to </dd></dl>
207
Implements <a class="el" href="classExiv2_1_1JpegBase.html#17bc2fe8a8e2562ae18d220e695cf2bf">Exiv2::JpegBase</a>. </td>
210
<hr>The documentation for this class was generated from the following files:<ul>
211
<li><a class="el" href="jpgimage_8hpp.html">jpgimage.hpp</a><li>jpgimage.cpp</ul>
212
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 2 23:55:03 2006 for Exiv2 by
221
Implements <a class="el" href="classExiv2_1_1JpegBase.html#17bc2fe8a8e2562ae18d220e695cf2bf">Exiv2::JpegBase</a>.
224
<hr>The documentation for this class was generated from the following file:<ul>
225
<li><a class="el" href="jpgimage_8hpp.html">jpgimage.hpp</a></ul>
226
<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 27 20:16:29 2006 for Exiv2 by
213
227
<a href="http://www.doxygen.org/index.html">
214
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
228
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>