30
40
Inheritance diagram for Exiv2::Nikon2MakerNote:<p><center><img src="classExiv2_1_1Nikon2MakerNote__inherit__graph.png" border="0" usemap="#Exiv2_1_1Nikon2MakerNote__inherit__map" alt="Inheritance graph"></center>
31
41
<map name="Exiv2_1_1Nikon2MakerNote__inherit__map">
32
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="19,82,160,106" alt="">
33
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="26,7,154,31" alt="">
42
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="20,82,177,106" alt="">
43
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="28,7,169,31" alt="">
35
45
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Exiv2::Nikon2MakerNote:<p><center><img src="classExiv2_1_1Nikon2MakerNote__coll__graph.png" border="0" usemap="#Exiv2_1_1Nikon2MakerNote__coll__map" alt="Collaboration graph"></center>
36
46
<map name="Exiv2_1_1Nikon2MakerNote__coll__map">
37
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="126,279,267,303" alt="">
38
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="6,188,134,212" alt="">
39
<area href="classExiv2_1_1Ifd.html" shape="rect" coords="158,188,235,212" alt="">
40
<area href="classExiv2_1_1DataBuf.html" shape="rect" coords="259,188,368,212" alt="">
41
<area href="structExiv2_1_1TagInfo.html" shape="rect" coords="291,279,398,303" alt="">
47
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="135,279,292,303" alt="">
48
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="6,188,147,212" alt="">
49
<area href="classExiv2_1_1Ifd.html" shape="rect" coords="171,188,256,212" alt="">
50
<area href="classExiv2_1_1DataBuf.html" shape="rect" coords="280,188,403,212" alt="">
51
<area href="structExiv2_1_1TagInfo.html" shape="rect" coords="316,279,434,303" alt="">
43
53
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classExiv2_1_1Nikon2MakerNote-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
55
<tr><td colspan="2"><br><h2>Accessors</h2></td></tr>
56
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#a2a4f713bcb5a3cb1acf32228af51778">checkHeader</a> () const</td></tr>
58
<tr><td class="mdescLeft"> </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="#a2a4f713bcb5a3cb1acf32228af51778"></a><br></td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1MakerNote.html#75c707e4233b5c8cea97e9ff3a32a4df">AutoPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#2b4bc03a536ccee75a4102e49c10ea9e">create</a> (bool alloc=true) const</td></tr>
61
<tr><td class="mdescLeft"> </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="#2b4bc03a536ccee75a4102e49c10ea9e"></a><br></td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1MakerNote.html#75c707e4233b5c8cea97e9ff3a32a4df">AutoPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#d06b8777a1c7b0a19c0b93e3dccb50a5">clone</a> () const</td></tr>
64
<tr><td class="mdescLeft"> </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="#d06b8777a1c7b0a19c0b93e3dccb50a5"></a><br></td></tr>
65
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c72409b2c17acac359a4d9328b7b61d1"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::tagList" ref="c72409b2c17acac359a4d9328b7b61d1" args="()" -->
66
static const <a class="el" href="structExiv2_1_1TagInfo.html">TagInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#c72409b2c17acac359a4d9328b7b61d1">tagList</a> ()</td></tr>
68
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return read-only list of built-in Nikon2 tags. <br></td></tr>
45
69
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
46
70
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bfaabe576dd0261c4e335c2c55529ebb"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::AutoPtr" ref="bfaabe576dd0261c4e335c2c55529ebb" args="" -->
47
71
typedef std::auto_ptr< <a class="el" href="classExiv2_1_1Nikon2MakerNote.html">Nikon2MakerNote</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#bfaabe576dd0261c4e335c2c55529ebb">AutoPtr</a></td></tr>
49
73
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut for a Nikon2MakerNote auto pointer. <br></td></tr>
50
74
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
51
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
52
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8f4ead4c913b478ffec1339a5304798"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::Nikon2MakerNote" ref="d8f4ead4c913b478ffec1339a5304798" args="(bool alloc=true)" -->
53
</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#d8f4ead4c913b478ffec1339a5304798">Nikon2MakerNote</a> (bool alloc=true)</td></tr>
55
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. Allows to choose whether or not memory management is required for the makernote entries. <br></td></tr>
56
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fefbd3fcff4a081432e897812e8f8dc5"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::Nikon2MakerNote" ref="fefbd3fcff4a081432e897812e8f8dc5" args="(const Nikon2MakerNote &rhs)" -->
57
</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#fefbd3fcff4a081432e897812e8f8dc5">Nikon2MakerNote</a> (const <a class="el" href="classExiv2_1_1Nikon2MakerNote.html">Nikon2MakerNote</a> &rhs)</td></tr>
59
<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br></td></tr>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d02f9cb97a00dc2a229a582502dd0ddf"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::~Nikon2MakerNote" ref="d02f9cb97a00dc2a229a582502dd0ddf" args="()" -->
61
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#d02f9cb97a00dc2a229a582502dd0ddf">~Nikon2MakerNote</a> ()</td></tr>
63
<tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual destructor. <br></td></tr>
64
75
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
65
76
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#e4bbe9f264447a56f17a84df44e56519">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>
67
78
<tr><td class="mdescLeft"> </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="#e4bbe9f264447a56f17a84df44e56519"></a><br></td></tr>
68
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
69
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#497c6b5fa6b456e7073dca50df6fd815">checkHeader</a> () const </td></tr>
71
<tr><td class="mdescLeft"> </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="#497c6b5fa6b456e7073dca50df6fd815"></a><br></td></tr>
72
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#bfaabe576dd0261c4e335c2c55529ebb">AutoPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#0ea996074c36870e33a0552b062de77b">create</a> (bool alloc=true) const </td></tr>
74
<tr><td class="mdescLeft"> </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="#0ea996074c36870e33a0552b062de77b"></a><br></td></tr>
75
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#bfaabe576dd0261c4e335c2c55529ebb">AutoPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#859f1161bc49ad8efe2636b6bdc98aa5">clone</a> () const </td></tr>
77
<tr><td class="mdescLeft"> </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="#859f1161bc49ad8efe2636b6bdc98aa5"></a><br></td></tr>
78
79
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
79
80
<tr><td colspan="2"><div class="groupHeader">Print functions for Nikon2 MakerNote tags</div></td></tr>
80
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="98e25b4ef99e5861263f7b771b1abfeb"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::print0x0003" ref="98e25b4ef99e5861263f7b771b1abfeb" args="(std::ostream &os, const Value &value)" -->
81
static std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#98e25b4ef99e5861263f7b771b1abfeb">print0x0003</a> (std::ostream &os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &value)</td></tr>
83
<tr><td class="mdescLeft"> </td><td class="mdescRight">Print quality setting. <br></td></tr>
84
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35f95a3de7741ab77c68f64ee226b56d"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::print0x0004" ref="35f95a3de7741ab77c68f64ee226b56d" args="(std::ostream &os, const Value &value)" -->
85
static std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#35f95a3de7741ab77c68f64ee226b56d">print0x0004</a> (std::ostream &os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &value)</td></tr>
87
<tr><td class="mdescLeft"> </td><td class="mdescRight">Print color mode setting. <br></td></tr>
88
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49a77909794ca1f16495e1053f728fe9"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::print0x0005" ref="49a77909794ca1f16495e1053f728fe9" args="(std::ostream &os, const Value &value)" -->
89
static std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#49a77909794ca1f16495e1053f728fe9">print0x0005</a> (std::ostream &os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &value)</td></tr>
91
<tr><td class="mdescLeft"> </td><td class="mdescRight">Print image adjustment setting. <br></td></tr>
92
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="57377edc94f7bfbf29a0ea7a1946ec5a"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::print0x0006" ref="57377edc94f7bfbf29a0ea7a1946ec5a" args="(std::ostream &os, const Value &value)" -->
93
static std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#57377edc94f7bfbf29a0ea7a1946ec5a">print0x0006</a> (std::ostream &os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &value)</td></tr>
95
<tr><td class="mdescLeft"> </td><td class="mdescRight">Print ISO speed setting. <br></td></tr>
96
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f2d061b09f71ae2f7fe4f726f2d4cf8"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::print0x0007" ref="8f2d061b09f71ae2f7fe4f726f2d4cf8" args="(std::ostream &os, const Value &value)" -->
97
static std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#8f2d061b09f71ae2f7fe4f726f2d4cf8">print0x0007</a> (std::ostream &os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &value)</td></tr>
99
<tr><td class="mdescLeft"> </td><td class="mdescRight">Print white balance setting. <br></td></tr>
100
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="903b1c6a4108be681ae97965d7d74293"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::print0x000a" ref="903b1c6a4108be681ae97965d7d74293" args="(std::ostream &os, const Value &value)" -->
101
static std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#903b1c6a4108be681ae97965d7d74293">print0x000a</a> (std::ostream &os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &value)</td></tr>
81
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f5b0a6ca4927cff7fdb200d13564af78"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::print0x000a" ref="f5b0a6ca4927cff7fdb200d13564af78" args="(std::ostream &os, const Value &value)" -->
82
static std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#f5b0a6ca4927cff7fdb200d13564af78">print0x000a</a> (std::ostream &os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &value)</td></tr>
103
84
<tr><td class="mdescLeft"> </td><td class="mdescRight">Print digital zoom setting. <br></td></tr>
106
87
A second <a class="el" href="classExiv2_1_1MakerNote.html">MakerNote</a> format used by Nikon cameras, including the E700, E800, E900, E900S, E910, E950.
108
89
<hr><h2>Member Function Documentation</h2>
109
<a class="anchor" name="497c6b5fa6b456e7073dca50df6fd815"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::checkHeader" ref="497c6b5fa6b456e7073dca50df6fd815" args="() const " --><p>
110
<table class="mdTable" cellpadding="2" cellspacing="0">
113
<table cellpadding="0" cellspacing="0" border="0">
115
<td class="md" nowrap valign="top">int Exiv2::Nikon2MakerNote::checkHeader </td>
116
<td class="md" valign="top">( </td>
117
<td class="mdname1" valign="top" nowrap> </td>
118
<td class="md" valign="top"> ) </td>
119
<td class="md" nowrap> const<code> [virtual]</code></td>
125
<table cellspacing="5" cellpadding="0" border="0">
90
<a class="anchor" name="e4bbe9f264447a56f17a84df44e56519"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::readHeader" ref="e4bbe9f264447a56f17a84df44e56519" args="(const byte *buf, long len, ByteOrder byteOrder)" -->
92
<div class="memproto">
93
<table class="memname">
95
<td class="memname">int Exiv2::Nikon2MakerNote::readHeader </td>
97
<td class="paramtype">const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> * </td>
98
<td class="paramname"> <em>buf</em>, </td>
101
<td class="paramkey"></td>
103
<td class="paramtype">long </td>
104
<td class="paramname"> <em>len</em>, </td>
107
<td class="paramkey"></td>
109
<td class="paramtype"><a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> </td>
110
<td class="paramname"> <em>byteOrder</em></td><td> </td>
115
<td></td><td></td><td width="100%"><code> [virtual]</code></td>
122
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.
124
<dl class="note" compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
127
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#1dc867ed8091d29f3bbfedc90fca8e6b">Exiv2::IfdMakerNote</a>.
130
<a class="anchor" name="a2a4f713bcb5a3cb1acf32228af51778"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::checkHeader" ref="a2a4f713bcb5a3cb1acf32228af51778" args="() const" -->
131
<div class="memitem">
132
<div class="memproto">
133
<table class="memname">
135
<td class="memname">int Exiv2::Nikon2MakerNote::checkHeader </td>
137
<td class="paramname"> </td>
138
<td> ) </td>
139
<td width="100%"> const<code> [virtual]</code></td>
133
146
Check the makernote header. This will typically check if a required prefix string is present in the header. Return 0 if successful.
135
<dl compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
138
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#43a1f3c82b4607f84cc19b32d775b9bb">Exiv2::IfdMakerNote</a>. </td>
141
<a class="anchor" name="859f1161bc49ad8efe2636b6bdc98aa5"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::clone" ref="859f1161bc49ad8efe2636b6bdc98aa5" args="() const " --><p>
142
<table class="mdTable" cellpadding="2" cellspacing="0">
145
<table cellpadding="0" cellspacing="0" border="0">
147
<td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#bfaabe576dd0261c4e335c2c55529ebb">Nikon2MakerNote::AutoPtr</a> Exiv2::Nikon2MakerNote::clone </td>
148
<td class="md" valign="top">( </td>
149
<td class="mdname1" valign="top" nowrap> </td>
150
<td class="md" valign="top"> ) </td>
151
<td class="md" nowrap> const</td>
157
<table cellspacing="5" cellpadding="0" border="0">
165
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.
167
<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>
170
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#a5067abdc044d2a5c8d23ed6764dd3ae">Exiv2::IfdMakerNote</a>. </td>
173
<a class="anchor" name="0ea996074c36870e33a0552b062de77b"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::create" ref="0ea996074c36870e33a0552b062de77b" args="(bool alloc=true) const " --><p>
174
<table class="mdTable" cellpadding="2" cellspacing="0">
177
<table cellpadding="0" cellspacing="0" border="0">
179
<td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1Nikon2MakerNote.html#bfaabe576dd0261c4e335c2c55529ebb">Nikon2MakerNote::AutoPtr</a> Exiv2::Nikon2MakerNote::create </td>
180
<td class="md" valign="top">( </td>
181
<td class="md" nowrap valign="top">bool </td>
182
<td class="mdname1" valign="top" nowrap> <em>alloc</em> = <code>true</code> </td>
183
<td class="md" valign="top"> ) </td>
184
<td class="md" nowrap> const</td>
190
<table cellspacing="5" cellpadding="0" border="0">
148
<dl class="note" compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
151
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#fa78810051bfe723f0a9b52ec321dbd2">Exiv2::IfdMakerNote</a>.
154
<a class="anchor" name="2b4bc03a536ccee75a4102e49c10ea9e"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::create" ref="2b4bc03a536ccee75a4102e49c10ea9e" args="(bool alloc=true) const" -->
155
<div class="memitem">
156
<div class="memproto">
157
<table class="memname">
159
<td class="memname"><a class="el" href="classExiv2_1_1MakerNote.html#75c707e4233b5c8cea97e9ff3a32a4df">AutoPtr</a> Exiv2::Nikon2MakerNote::create </td>
161
<td class="paramtype">bool </td>
162
<td class="paramname"> <em>alloc</em> = <code>true</code> </td>
163
<td> ) </td>
164
<td width="100%"> const</td>
198
171
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.
200
173
<dl compact><dt><b>Parameters:</b></dt><dd>
201
174
<table border="0" cellspacing="2" cellpadding="0">
202
<tr><td valign="top"></td><td valign="top"><em>alloc</em> </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>
175
<tr><td valign="top"></td><td valign="top"><em>alloc</em> </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#02885513935765dfd6e8fc515eaa7c65">read()</a> will be kept. See <a class="el" href="classExiv2_1_1Ifd.html">Ifd</a> for more background on this concept. </td></tr>
207
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#44d0be551b40d961f0f298784278440b">Exiv2::IfdMakerNote</a>. </td>
210
<a class="anchor" name="e4bbe9f264447a56f17a84df44e56519"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::readHeader" ref="e4bbe9f264447a56f17a84df44e56519" args="(const byte *buf, long len, ByteOrder byteOrder)" --><p>
211
<table class="mdTable" cellpadding="2" cellspacing="0">
214
<table cellpadding="0" cellspacing="0" border="0">
216
<td class="md" nowrap valign="top">int Exiv2::Nikon2MakerNote::readHeader </td>
217
<td class="md" valign="top">( </td>
218
<td class="md" nowrap valign="top">const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> * </td>
219
<td class="mdname" nowrap> <em>buf</em>, </td>
222
<td class="md" nowrap align="right"></td>
224
<td class="md" nowrap>long </td>
225
<td class="mdname" nowrap> <em>len</em>, </td>
228
<td class="md" nowrap align="right"></td>
230
<td class="md" nowrap><a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> </td>
231
<td class="mdname" nowrap> <em>byteOrder</em></td>
235
<td class="md">) </td>
236
<td class="md" colspan="2"><code> [virtual]</code></td>
180
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#6d918dd6390b61291b55aada7302f4c9">Exiv2::IfdMakerNote</a>.
183
<a class="anchor" name="d06b8777a1c7b0a19c0b93e3dccb50a5"></a><!-- doxytag: member="Exiv2::Nikon2MakerNote::clone" ref="d06b8777a1c7b0a19c0b93e3dccb50a5" args="() const" -->
184
<div class="memitem">
185
<div class="memproto">
186
<table class="memname">
188
<td class="memname"><a class="el" href="classExiv2_1_1MakerNote.html#75c707e4233b5c8cea97e9ff3a32a4df">AutoPtr</a> Exiv2::Nikon2MakerNote::clone </td>
190
<td class="paramname"> </td>
191
<td> ) </td>
192
<td width="100%"> const</td>
242
<table cellspacing="5" cellpadding="0" border="0">
250
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.
252
<dl compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
255
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#796687b32472c0ac59cb94d50a8e74fc">Exiv2::IfdMakerNote</a>. </td>
258
<hr>The documentation for this class was generated from the following files:<ul>
259
<li><a class="el" href="nikonmn_8hpp.html">nikonmn.hpp</a><li>nikonmn.cpp</ul>
260
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 2 23:55:17 2006 for Exiv2 by
199
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.
201
<dl class="note" 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#76bf8e7055b37e94db5ee000db0cec9a">updateBase(byte* pNewBase)</a> to adjust them. </dd></dl>
204
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#20498e961ca0173eca4c7a08b3bf55de">Exiv2::IfdMakerNote</a>.
207
<hr>The documentation for this class was generated from the following file:<ul>
208
<li><a class="el" href="nikonmn_8hpp.html">nikonmn.hpp</a></ul>
209
<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 27 20:16:32 2006 for Exiv2 by
261
210
<a href="http://www.doxygen.org/index.html">
262
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
211
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>