~ubuntu-branches/ubuntu/precise/exiv2/precise

« back to all changes in this revision

Viewing changes to doc/html/classExiv2_1_1OlympusMakerNote.html

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2006-12-07 18:40:10 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20061207184010-0ouu8v0dr8nznob9
Tags: 0.12-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
5
<link href="tabs.css" rel="stylesheet" type="text/css">
6
6
</head><body>
7
 
<!-- Generated by Doxygen 1.4.6 -->
 
7
<!-- Generated by Doxygen 1.5.1 -->
8
8
<div class="tabs">
9
9
  <ul>
10
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
12
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
13
13
    <li><a href="files.html"><span>Files</span></a></li>
14
14
    <li><a href="examples.html"><span>Examples</span></a></li>
 
15
    <li>
 
16
      <form action="search.php" method="get">
 
17
        <table cellspacing="0" cellpadding="0" border="0">
 
18
          <tr>
 
19
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
 
20
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
 
21
          </tr>
 
22
        </table>
 
23
      </form>
 
24
    </li>
15
25
  </ul></div>
16
26
<div class="tabs">
17
27
  <ul>
29
39
<p>
30
40
Inheritance diagram for Exiv2::OlympusMakerNote:<p><center><img src="classExiv2_1_1OlympusMakerNote__inherit__graph.png" border="0" usemap="#Exiv2_1_1OlympusMakerNote__inherit__map" alt="Inheritance graph"></center>
31
41
<map name="Exiv2_1_1OlympusMakerNote__inherit__map">
32
 
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="24,82,165,106" alt="">
33
 
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="31,7,159,31" alt="">
 
42
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="27,82,184,106" alt="">
 
43
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="35,7,176,31" alt="">
34
44
</map>
35
45
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Exiv2::OlympusMakerNote:<p><center><img src="classExiv2_1_1OlympusMakerNote__coll__graph.png" border="0" usemap="#Exiv2_1_1OlympusMakerNote__coll__map" alt="Collaboration graph"></center>
36
46
<map name="Exiv2_1_1OlympusMakerNote__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="">
42
52
</map>
43
53
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classExiv2_1_1OlympusMakerNote-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
44
54
<tr><td></td></tr>
 
55
<tr><td colspan="2"><br><h2>Accessors</h2></td></tr>
 
56
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#af3e7e7f7df351a363a6746e97a51d77">checkHeader</a> () const</td></tr>
 
57
 
 
58
<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="#af3e7e7f7df351a363a6746e97a51d77"></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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#1862d22550dbda3b35cd990132b0849d">create</a> (bool alloc=true) const</td></tr>
 
60
 
 
61
<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="#1862d22550dbda3b35cd990132b0849d"></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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#c3b18665c0e586970560ecc8e773551a">clone</a> () const</td></tr>
 
63
 
 
64
<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="#c3b18665c0e586970560ecc8e773551a"></a><br></td></tr>
 
65
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6e814eb202e24906e69a787d75a4f5e8"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::tagList" ref="6e814eb202e24906e69a787d75a4f5e8" args="()" -->
 
66
static const <a class="el" href="structExiv2_1_1TagInfo.html">TagInfo</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#6e814eb202e24906e69a787d75a4f5e8">tagList</a> ()</td></tr>
 
67
 
 
68
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return read-only list of built-in Olympus 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="c1a1ec96773fe6cb3e296483d8378f6b"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::AutoPtr" ref="c1a1ec96773fe6cb3e296483d8378f6b" args="" -->
47
71
typedef std::auto_ptr&lt; <a class="el" href="classExiv2_1_1OlympusMakerNote.html">OlympusMakerNote</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#c1a1ec96773fe6cb3e296483d8378f6b">AutoPtr</a></td></tr>
48
72
 
49
73
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for a OlympusMakerNote 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="33af937d47411cef170ebbf0dfc969be"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::OlympusMakerNote" ref="33af937d47411cef170ebbf0dfc969be" args="(bool alloc=true)" -->
53
 
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#33af937d47411cef170ebbf0dfc969be">OlympusMakerNote</a> (bool alloc=true)</td></tr>
54
 
 
55
 
<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>
56
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="029121e62126f09fdd59807776e0c99c"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::OlympusMakerNote" ref="029121e62126f09fdd59807776e0c99c" args="(const OlympusMakerNote &amp;rhs)" -->
57
 
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#029121e62126f09fdd59807776e0c99c">OlympusMakerNote</a> (const <a class="el" href="classExiv2_1_1OlympusMakerNote.html">OlympusMakerNote</a> &amp;rhs)</td></tr>
58
 
 
59
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor. <br></td></tr>
60
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8ca6f6c8050c96faca06ae6278683cb0"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::~OlympusMakerNote" ref="8ca6f6c8050c96faca06ae6278683cb0" args="()" -->
61
 
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#8ca6f6c8050c96faca06ae6278683cb0">~OlympusMakerNote</a> ()</td></tr>
62
 
 
63
 
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#90b4ff3b46e8d2df285c5ff77cfe81a6">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>
66
77
 
67
78
<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="#90b4ff3b46e8d2df285c5ff77cfe81a6"></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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#c61e0ae50097ca01cf158ed8e7fddae3">checkHeader</a> () const </td></tr>
70
 
 
71
 
<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="#c61e0ae50097ca01cf158ed8e7fddae3"></a><br></td></tr>
72
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#c1a1ec96773fe6cb3e296483d8378f6b">AutoPtr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#fb82d4aa22a0248878c2761bd2362158">create</a> (bool alloc=true) const </td></tr>
73
 
 
74
 
<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="#fb82d4aa22a0248878c2761bd2362158"></a><br></td></tr>
75
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#c1a1ec96773fe6cb3e296483d8378f6b">AutoPtr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#283cf4ff7a54aaaff9b0815435cb3ae2">clone</a> () const </td></tr>
76
 
 
77
 
<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="#283cf4ff7a54aaaff9b0815435cb3ae2"></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 Olympus MakerNote tags</div></td></tr>
80
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ce9bf7d2cbb1fe6eb65f3a0b34997a3"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::print0x0200" ref="3ce9bf7d2cbb1fe6eb65f3a0b34997a3" args="(std::ostream &amp;os, const Value &amp;value)" -->
81
 
static std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#3ce9bf7d2cbb1fe6eb65f3a0b34997a3">print0x0200</a> (std::ostream &amp;os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;value)</td></tr>
 
81
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ab57c52c7810ea0f279fbef7f28cde1c"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::print0x0200" ref="ab57c52c7810ea0f279fbef7f28cde1c" args="(std::ostream &amp;os, const Value &amp;value)" -->
 
82
static std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#ab57c52c7810ea0f279fbef7f28cde1c">print0x0200</a> (std::ostream &amp;os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;value)</td></tr>
82
83
 
83
84
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print 'Special Mode'. <br></td></tr>
84
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="69459cfe4af1876d607af374d68c7501"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::print0x0204" ref="69459cfe4af1876d607af374d68c7501" args="(std::ostream &amp;os, const Value &amp;value)" -->
85
 
static std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#69459cfe4af1876d607af374d68c7501">print0x0204</a> (std::ostream &amp;os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;value)</td></tr>
 
85
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bbf179de22a71edc2161917d01e43215"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::print0x0204" ref="bbf179de22a71edc2161917d01e43215" args="(std::ostream &amp;os, const Value &amp;value)" -->
 
86
static std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#bbf179de22a71edc2161917d01e43215">print0x0204</a> (std::ostream &amp;os, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;value)</td></tr>
86
87
 
87
88
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print Digital Zoom Factor. <br></td></tr>
88
89
</table>
90
91
<a class="el" href="classExiv2_1_1MakerNote.html">MakerNote</a> for Olympus cameras. 
91
92
<p>
92
93
<hr><h2>Member Function Documentation</h2>
93
 
<a class="anchor" name="c61e0ae50097ca01cf158ed8e7fddae3"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::checkHeader" ref="c61e0ae50097ca01cf158ed8e7fddae3" args="() const " --><p>
94
 
<table class="mdTable" cellpadding="2" cellspacing="0">
95
 
  <tr>
96
 
    <td class="mdRow">
97
 
      <table cellpadding="0" cellspacing="0" border="0">
98
 
        <tr>
99
 
          <td class="md" nowrap valign="top">int Exiv2::OlympusMakerNote::checkHeader           </td>
100
 
          <td class="md" valign="top">(&nbsp;</td>
101
 
          <td class="mdname1" valign="top" nowrap>          </td>
102
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
103
 
          <td class="md" nowrap> const<code> [virtual]</code></td>
104
 
        </tr>
105
 
      </table>
106
 
    </td>
107
 
  </tr>
108
 
</table>
109
 
<table cellspacing="5" cellpadding="0" border="0">
110
 
  <tr>
111
 
    <td>
112
 
      &nbsp;
113
 
    </td>
114
 
    <td>
 
94
<a class="anchor" name="90b4ff3b46e8d2df285c5ff77cfe81a6"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::readHeader" ref="90b4ff3b46e8d2df285c5ff77cfe81a6" args="(const byte *buf, long len, ByteOrder byteOrder)" -->
 
95
<div class="memitem">
 
96
<div class="memproto">
 
97
      <table class="memname">
 
98
        <tr>
 
99
          <td class="memname">int Exiv2::OlympusMakerNote::readHeader           </td>
 
100
          <td>(</td>
 
101
          <td class="paramtype">const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *&nbsp;</td>
 
102
          <td class="paramname"> <em>buf</em>, </td>
 
103
        </tr>
 
104
        <tr>
 
105
          <td class="paramkey"></td>
 
106
          <td></td>
 
107
          <td class="paramtype">long&nbsp;</td>
 
108
          <td class="paramname"> <em>len</em>, </td>
 
109
        </tr>
 
110
        <tr>
 
111
          <td class="paramkey"></td>
 
112
          <td></td>
 
113
          <td class="paramtype"><a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&nbsp;</td>
 
114
          <td class="paramname"> <em>byteOrder</em></td><td>&nbsp;</td>
 
115
        </tr>
 
116
        <tr>
 
117
          <td></td>
 
118
          <td>)</td>
 
119
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
 
120
        </tr>
 
121
      </table>
 
122
</div>
 
123
<div class="memdoc">
 
124
 
 
125
<p>
 
126
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. 
 
127
<p>
 
128
<dl class="note" compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
 
129
 
 
130
<p>
 
131
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#1dc867ed8091d29f3bbfedc90fca8e6b">Exiv2::IfdMakerNote</a>.
 
132
</div>
 
133
</div><p>
 
134
<a class="anchor" name="af3e7e7f7df351a363a6746e97a51d77"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::checkHeader" ref="af3e7e7f7df351a363a6746e97a51d77" args="() const" -->
 
135
<div class="memitem">
 
136
<div class="memproto">
 
137
      <table class="memname">
 
138
        <tr>
 
139
          <td class="memname">int Exiv2::OlympusMakerNote::checkHeader           </td>
 
140
          <td>(</td>
 
141
          <td class="paramname">          </td>
 
142
          <td>&nbsp;)&nbsp;</td>
 
143
          <td width="100%"> const<code> [virtual]</code></td>
 
144
        </tr>
 
145
      </table>
 
146
</div>
 
147
<div class="memdoc">
115
148
 
116
149
<p>
117
150
Check the makernote header. This will typically check if a required prefix string is present in the header. Return 0 if successful. 
118
151
<p>
119
 
<dl compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
120
 
 
121
 
<p>
122
 
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#43a1f3c82b4607f84cc19b32d775b9bb">Exiv2::IfdMakerNote</a>.    </td>
123
 
  </tr>
124
 
</table>
125
 
<a class="anchor" name="283cf4ff7a54aaaff9b0815435cb3ae2"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::clone" ref="283cf4ff7a54aaaff9b0815435cb3ae2" args="() const " --><p>
126
 
<table class="mdTable" cellpadding="2" cellspacing="0">
127
 
  <tr>
128
 
    <td class="mdRow">
129
 
      <table cellpadding="0" cellspacing="0" border="0">
130
 
        <tr>
131
 
          <td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#c1a1ec96773fe6cb3e296483d8378f6b">OlympusMakerNote::AutoPtr</a> Exiv2::OlympusMakerNote::clone           </td>
132
 
          <td class="md" valign="top">(&nbsp;</td>
133
 
          <td class="mdname1" valign="top" nowrap>          </td>
134
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
135
 
          <td class="md" nowrap> const</td>
136
 
        </tr>
137
 
      </table>
138
 
    </td>
139
 
  </tr>
140
 
</table>
141
 
<table cellspacing="5" cellpadding="0" border="0">
142
 
  <tr>
143
 
    <td>
144
 
      &nbsp;
145
 
    </td>
146
 
    <td>
147
 
 
148
 
<p>
149
 
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. 
150
 
<p>
151
 
<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>
152
 
 
153
 
<p>
154
 
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#a5067abdc044d2a5c8d23ed6764dd3ae">Exiv2::IfdMakerNote</a>.    </td>
155
 
  </tr>
156
 
</table>
157
 
<a class="anchor" name="fb82d4aa22a0248878c2761bd2362158"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::create" ref="fb82d4aa22a0248878c2761bd2362158" args="(bool alloc=true) const " --><p>
158
 
<table class="mdTable" cellpadding="2" cellspacing="0">
159
 
  <tr>
160
 
    <td class="mdRow">
161
 
      <table cellpadding="0" cellspacing="0" border="0">
162
 
        <tr>
163
 
          <td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1OlympusMakerNote.html#c1a1ec96773fe6cb3e296483d8378f6b">OlympusMakerNote::AutoPtr</a> Exiv2::OlympusMakerNote::create           </td>
164
 
          <td class="md" valign="top">(&nbsp;</td>
165
 
          <td class="md" nowrap valign="top">bool&nbsp;</td>
166
 
          <td class="mdname1" valign="top" nowrap> <em>alloc</em> = <code>true</code>          </td>
167
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
168
 
          <td class="md" nowrap> const</td>
169
 
        </tr>
170
 
      </table>
171
 
    </td>
172
 
  </tr>
173
 
</table>
174
 
<table cellspacing="5" cellpadding="0" border="0">
175
 
  <tr>
176
 
    <td>
177
 
      &nbsp;
178
 
    </td>
179
 
    <td>
 
152
<dl class="note" compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
 
153
 
 
154
<p>
 
155
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#fa78810051bfe723f0a9b52ec321dbd2">Exiv2::IfdMakerNote</a>.
 
156
</div>
 
157
</div><p>
 
158
<a class="anchor" name="1862d22550dbda3b35cd990132b0849d"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::create" ref="1862d22550dbda3b35cd990132b0849d" args="(bool alloc=true) const" -->
 
159
<div class="memitem">
 
160
<div class="memproto">
 
161
      <table class="memname">
 
162
        <tr>
 
163
          <td class="memname"><a class="el" href="classExiv2_1_1MakerNote.html#75c707e4233b5c8cea97e9ff3a32a4df">AutoPtr</a> Exiv2::OlympusMakerNote::create           </td>
 
164
          <td>(</td>
 
165
          <td class="paramtype">bool&nbsp;</td>
 
166
          <td class="paramname"> <em>alloc</em> = <code>true</code>          </td>
 
167
          <td>&nbsp;)&nbsp;</td>
 
168
          <td width="100%"> const</td>
 
169
        </tr>
 
170
      </table>
 
171
</div>
 
172
<div class="memdoc">
180
173
 
181
174
<p>
182
175
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. 
183
176
<p>
184
177
<dl compact><dt><b>Parameters:</b></dt><dd>
185
178
  <table border="0" cellspacing="2" cellpadding="0">
186
 
    <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>
 
179
    <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#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>
187
180
  </table>
188
181
</dl>
189
182
 
190
183
<p>
191
 
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#44d0be551b40d961f0f298784278440b">Exiv2::IfdMakerNote</a>.    </td>
192
 
  </tr>
193
 
</table>
194
 
<a class="anchor" name="90b4ff3b46e8d2df285c5ff77cfe81a6"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::readHeader" ref="90b4ff3b46e8d2df285c5ff77cfe81a6" args="(const byte *buf, long len, ByteOrder byteOrder)" --><p>
195
 
<table class="mdTable" cellpadding="2" cellspacing="0">
196
 
  <tr>
197
 
    <td class="mdRow">
198
 
      <table cellpadding="0" cellspacing="0" border="0">
199
 
        <tr>
200
 
          <td class="md" nowrap valign="top">int Exiv2::OlympusMakerNote::readHeader           </td>
201
 
          <td class="md" valign="top">(&nbsp;</td>
202
 
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *&nbsp;</td>
203
 
          <td class="mdname" nowrap> <em>buf</em>, </td>
204
 
        </tr>
205
 
        <tr>
206
 
          <td class="md" nowrap align="right"></td>
207
 
          <td class="md"></td>
208
 
          <td class="md" nowrap>long&nbsp;</td>
209
 
          <td class="mdname" nowrap> <em>len</em>, </td>
210
 
        </tr>
211
 
        <tr>
212
 
          <td class="md" nowrap align="right"></td>
213
 
          <td class="md"></td>
214
 
          <td class="md" nowrap><a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&nbsp;</td>
215
 
          <td class="mdname" nowrap> <em>byteOrder</em></td>
216
 
        </tr>
217
 
        <tr>
218
 
          <td class="md"></td>
219
 
          <td class="md">)&nbsp;</td>
220
 
          <td class="md" colspan="2"><code> [virtual]</code></td>
 
184
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#6d918dd6390b61291b55aada7302f4c9">Exiv2::IfdMakerNote</a>.
 
185
</div>
 
186
</div><p>
 
187
<a class="anchor" name="c3b18665c0e586970560ecc8e773551a"></a><!-- doxytag: member="Exiv2::OlympusMakerNote::clone" ref="c3b18665c0e586970560ecc8e773551a" args="() const" -->
 
188
<div class="memitem">
 
189
<div class="memproto">
 
190
      <table class="memname">
 
191
        <tr>
 
192
          <td class="memname"><a class="el" href="classExiv2_1_1MakerNote.html#75c707e4233b5c8cea97e9ff3a32a4df">AutoPtr</a> Exiv2::OlympusMakerNote::clone           </td>
 
193
          <td>(</td>
 
194
          <td class="paramname">          </td>
 
195
          <td>&nbsp;)&nbsp;</td>
 
196
          <td width="100%"> const</td>
221
197
        </tr>
222
198
      </table>
223
 
    </td>
224
 
  </tr>
225
 
</table>
226
 
<table cellspacing="5" cellpadding="0" border="0">
227
 
  <tr>
228
 
    <td>
229
 
      &nbsp;
230
 
    </td>
231
 
    <td>
232
 
 
233
 
<p>
234
 
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. 
235
 
<p>
236
 
<dl compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
237
 
 
238
 
<p>
239
 
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#796687b32472c0ac59cb94d50a8e74fc">Exiv2::IfdMakerNote</a>.    </td>
240
 
  </tr>
241
 
</table>
242
 
<hr>The documentation for this class was generated from the following files:<ul>
243
 
<li><a class="el" href="olympusmn_8hpp.html">olympusmn.hpp</a><li>olympusmn.cpp</ul>
244
 
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 2 23:55:19 2006 for Exiv2 by&nbsp;
 
199
</div>
 
200
<div class="memdoc">
 
201
 
 
202
<p>
 
203
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. 
 
204
<p>
 
205
<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>
 
206
 
 
207
<p>
 
208
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#20498e961ca0173eca4c7a08b3bf55de">Exiv2::IfdMakerNote</a>.
 
209
</div>
 
210
</div><p>
 
211
<hr>The documentation for this class was generated from the following file:<ul>
 
212
<li><a class="el" href="olympusmn_8hpp.html">olympusmn.hpp</a></ul>
 
213
<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 27 20:16:32 2006 for Exiv2 by&nbsp;
245
214
<a href="http://www.doxygen.org/index.html">
246
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
 
215
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
247
216
</body>
248
217
</html>