File: classExiv2_1_1SigmaMakerNote.html

package info (click to toggle)
exiv2 0.10-1.4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 13,124 kB
  • ctags: 5,665
  • sloc: cpp: 20,697; xml: 15,118; sh: 10,526; ansic: 1,887; makefile: 367; awk: 64; python: 36
file content (252 lines) | stat: -rw-r--r-- 17,938 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Exiv2: Exiv2::SigmaMakerNote Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="namespaceExiv2.html">Exiv2</a>::<a class="el" href="classExiv2_1_1SigmaMakerNote.html">SigmaMakerNote</a></div>
<h1>Exiv2::SigmaMakerNote Class Reference</h1><!-- doxytag: class="Exiv2::SigmaMakerNote" --><!-- doxytag: inherits="Exiv2::IfdMakerNote" --><a class="el" href="classExiv2_1_1MakerNote.html">MakerNote</a> for Sigma (Foveon) cameras.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;sigmamn.hpp&gt;</code>
<p>
Inheritance diagram for Exiv2::SigmaMakerNote:<p><center><img src="classExiv2_1_1SigmaMakerNote__inherit__graph.png" border="0" usemap="#Exiv2_1_1SigmaMakerNote__inherit__map" alt="Inheritance graph"></center>
<map name="Exiv2_1_1SigmaMakerNote__inherit__map">
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="17,82,159,106" alt="">
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="24,7,152,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Exiv2::SigmaMakerNote:<p><center><img src="classExiv2_1_1SigmaMakerNote__coll__graph.png" border="0" usemap="#Exiv2_1_1SigmaMakerNote__coll__map" alt="Collaboration graph"></center>
<map name="Exiv2_1_1SigmaMakerNote__coll__map">
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="126,279,267,303" alt="">
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="6,188,134,212" alt="">
<area href="classExiv2_1_1Ifd.html" shape="rect" coords="158,188,235,212" alt="">
<area href="classExiv2_1_1DataBuf.html" shape="rect" coords="259,188,368,212" alt="">
<area href="structExiv2_1_1TagInfo.html" shape="rect" coords="291,279,398,303" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classExiv2_1_1SigmaMakerNote-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3bfdde9c15d5b14cb01d70d436328263"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::AutoPtr" ref="3bfdde9c15d5b14cb01d70d436328263" args="" -->
typedef std::auto_ptr&lt; <a class="el" href="classExiv2_1_1SigmaMakerNote.html">SigmaMakerNote</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#3bfdde9c15d5b14cb01d70d436328263">AutoPtr</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for a SigmaMakerNote auto pointer. <br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f7a397ab748ab526b32b069dfef033c7"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::SigmaMakerNote" ref="f7a397ab748ab526b32b069dfef033c7" args="(bool alloc=true)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#f7a397ab748ab526b32b069dfef033c7">SigmaMakerNote</a> (bool alloc=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. Allows to choose whether or not memory management is required for the makernote entries. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4239f783b54bb8993852ee73582d1dbf"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::SigmaMakerNote" ref="4239f783b54bb8993852ee73582d1dbf" args="(const SigmaMakerNote &amp;rhs)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#4239f783b54bb8993852ee73582d1dbf">SigmaMakerNote</a> (const <a class="el" href="classExiv2_1_1SigmaMakerNote.html">SigmaMakerNote</a> &amp;rhs)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6532348d1063589417098396eca94b86"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::~SigmaMakerNote" ref="6532348d1063589417098396eca94b86" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#6532348d1063589417098396eca94b86">~SigmaMakerNote</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual destructor. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#b11ad04b53e63f35dcac348e6568f9e1">readHeader</a> (const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, long len, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read the makernote header from the makernote databuffer. This method must set the offset to the start of the IFD (start_), if needed (assuming that the required information is in the header). Return 0 if successful.  <a href="#b11ad04b53e63f35dcac348e6568f9e1"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#148d9e1fb4bb7893bf81033e21b02e6d">checkHeader</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check the makernote header. This will typically check if a required prefix string is present in the header. Return 0 if successful.  <a href="#148d9e1fb4bb7893bf81033e21b02e6d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#3bfdde9c15d5b14cb01d70d436328263">AutoPtr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#d2f9c47b254e0d5d93e422bd26139afc">create</a> (bool alloc=true) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return an auto-pointer to an newly created, empty instance of the same type as this. The makernote entries are <b>not</b> copied. The caller owns the new object and the auto-pointer ensures that it will be deleted.  <a href="#d2f9c47b254e0d5d93e422bd26139afc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#3bfdde9c15d5b14cb01d70d436328263">AutoPtr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#8ad8f00c5e8e9d23c07c79869af84e4b">clone</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return an auto-pointer to a clone of this object. The caller owns the new object and the auto-pointer ensures that it will be deleted.  <a href="#8ad8f00c5e8e9d23c07c79869af84e4b"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Print functions for Sigma (Foveon) MakerNote tags</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcc41fefcde8f2904aaded57a684b7da"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::printStripLabel" ref="bcc41fefcde8f2904aaded57a684b7da" args="(std::ostream &amp;os, const Value &amp;value)" -->
static std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#bcc41fefcde8f2904aaded57a684b7da">printStripLabel</a> (std::ostream &amp;os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Strip the label from the value and print the remainder. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb9d85e024bccd17957010417bf8a86f"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::print0x0008" ref="eb9d85e024bccd17957010417bf8a86f" args="(std::ostream &amp;os, const Value &amp;value)" -->
static std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#eb9d85e024bccd17957010417bf8a86f">print0x0008</a> (std::ostream &amp;os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print exposure mode. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="10f996a49fc89c586478a85df344472f"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::print0x0009" ref="10f996a49fc89c586478a85df344472f" args="(std::ostream &amp;os, const Value &amp;value)" -->
static std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#10f996a49fc89c586478a85df344472f">print0x0009</a> (std::ostream &amp;os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print metering mode. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classExiv2_1_1MakerNote.html">MakerNote</a> for Sigma (Foveon) cameras. 
<p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="148d9e1fb4bb7893bf81033e21b02e6d"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::checkHeader" ref="148d9e1fb4bb7893bf81033e21b02e6d" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int Exiv2::SigmaMakerNote::checkHeader           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Check the makernote header. This will typically check if a required prefix string is present in the header. Return 0 if successful. 
<p>
<dl compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>

<p>
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#43a1f3c82b4607f84cc19b32d775b9bb">Exiv2::IfdMakerNote</a>.    </td>
  </tr>
</table>
<a class="anchor" name="8ad8f00c5e8e9d23c07c79869af84e4b"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::clone" ref="8ad8f00c5e8e9d23c07c79869af84e4b" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#3bfdde9c15d5b14cb01d70d436328263">SigmaMakerNote::AutoPtr</a> Exiv2::SigmaMakerNote::clone           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return an auto-pointer to a clone of this object. The caller owns the new object and the auto-pointer ensures that it will be deleted. 
<p>
<dl compact><dt><b>Note:</b></dt><dd>In non-alloc mode the clone potentially contains pointers to the same data buffer as the original. Use <a class="el" href="classExiv2_1_1IfdMakerNote.html#c9e093e27df18f034af0bc1db1f1c2b2">updateBase(byte* pNewBase)</a> to adjust them. </dd></dl>

<p>
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#a5067abdc044d2a5c8d23ed6764dd3ae">Exiv2::IfdMakerNote</a>.    </td>
  </tr>
</table>
<a class="anchor" name="d2f9c47b254e0d5d93e422bd26139afc"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::create" ref="d2f9c47b254e0d5d93e422bd26139afc" args="(bool alloc=true) const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1SigmaMakerNote.html#3bfdde9c15d5b14cb01d70d436328263">SigmaMakerNote::AutoPtr</a> Exiv2::SigmaMakerNote::create           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>alloc</em> = <code>true</code>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return an auto-pointer to an newly created, empty instance of the same type as this. The makernote entries are <b>not</b> copied. The caller owns the new object and the auto-pointer ensures that it will be deleted. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>alloc</em>&nbsp;</td><td>Memory management model for the newly created object. Indicates if memory required to store data should be allocated and deallocated (true) or not (false). If false, only pointers to the buffer provided to <a class="el" href="classExiv2_1_1IfdMakerNote.html#1a123c6c4b32b9e60b0b60744b16b093">read()</a> will be kept. See <a class="el" href="classExiv2_1_1Ifd.html">Ifd</a> for more background on this concept. </td></tr>
  </table>
</dl>

<p>
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#44d0be551b40d961f0f298784278440b">Exiv2::IfdMakerNote</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b11ad04b53e63f35dcac348e6568f9e1"></a><!-- doxytag: member="Exiv2::SigmaMakerNote::readHeader" ref="b11ad04b53e63f35dcac348e6568f9e1" args="(const byte *buf, long len, ByteOrder byteOrder)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int Exiv2::SigmaMakerNote::readHeader           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>buf</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>long&nbsp;</td>
          <td class="mdname" nowrap> <em>len</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>byteOrder</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Read the makernote header from the makernote databuffer. This method must set the offset to the start of the IFD (start_), if needed (assuming that the required information is in the header). Return 0 if successful. 
<p>
<dl compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>

<p>
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#796687b32472c0ac59cb94d50a8e74fc">Exiv2::IfdMakerNote</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="sigmamn_8hpp.html">sigmamn.hpp</a><li>sigmamn.cpp</ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 2 23:55:21 2006 for Exiv2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>