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

« back to all changes in this revision

Viewing changes to doc/html/classExiv2_1_1SonyMakerNote.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::SonyMakerNote:<p><center><img src="classExiv2_1_1SonyMakerNote__inherit__graph.png" border="0" usemap="#Exiv2_1_1SonyMakerNote__inherit__map" alt="Inheritance graph"></center>
31
41
<map name="Exiv2_1_1SonyMakerNote__inherit__map">
32
 
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="13,82,155,106" alt="">
33
 
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="20,7,148,31" alt="">
 
42
<area href="classExiv2_1_1IfdMakerNote.html" shape="rect" coords="13,82,171,106" alt="">
 
43
<area href="classExiv2_1_1MakerNote.html" shape="rect" coords="21,7,163,31" alt="">
34
44
</map>
35
45
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Exiv2::SonyMakerNote:<p><center><img src="classExiv2_1_1SonyMakerNote__coll__graph.png" border="0" usemap="#Exiv2_1_1SonyMakerNote__coll__map" alt="Collaboration graph"></center>
36
46
<map name="Exiv2_1_1SonyMakerNote__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_1SonyMakerNote-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_1SonyMakerNote.html#6bf54747576b11e1806a6c7034b35961">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="#6bf54747576b11e1806a6c7034b35961"></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_1SonyMakerNote.html#6d98fb81499cf0740878416332e1b898">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="#6d98fb81499cf0740878416332e1b898"></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_1SonyMakerNote.html#8ab189b34cb32397c4a0169805e31b0a">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="#8ab189b34cb32397c4a0169805e31b0a"></a><br></td></tr>
 
65
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1bda25a63e399ec6e85e05aed5a9ad1"></a><!-- doxytag: member="Exiv2::SonyMakerNote::tagList" ref="a1bda25a63e399ec6e85e05aed5a9ad1" 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_1SonyMakerNote.html#a1bda25a63e399ec6e85e05aed5a9ad1">tagList</a> ()</td></tr>
 
67
 
 
68
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return read-only list of built-in Sony 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="43e4a7e86623539c2d5e25bb9eeabe74"></a><!-- doxytag: member="Exiv2::SonyMakerNote::AutoPtr" ref="43e4a7e86623539c2d5e25bb9eeabe74" args="" -->
47
71
typedef std::auto_ptr&lt; <a class="el" href="classExiv2_1_1SonyMakerNote.html">SonyMakerNote</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SonyMakerNote.html#43e4a7e86623539c2d5e25bb9eeabe74">AutoPtr</a></td></tr>
48
72
 
49
73
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for a SonyMakerNote 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="e23fd2668fe8d20f52158c12c3193cac"></a><!-- doxytag: member="Exiv2::SonyMakerNote::SonyMakerNote" ref="e23fd2668fe8d20f52158c12c3193cac" args="(bool alloc=true)" -->
53
 
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SonyMakerNote.html#e23fd2668fe8d20f52158c12c3193cac">SonyMakerNote</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="4f2ced9f1032d2671fc62c8f576bf8bd"></a><!-- doxytag: member="Exiv2::SonyMakerNote::SonyMakerNote" ref="4f2ced9f1032d2671fc62c8f576bf8bd" args="(const SonyMakerNote &amp;rhs)" -->
57
 
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SonyMakerNote.html#4f2ced9f1032d2671fc62c8f576bf8bd">SonyMakerNote</a> (const <a class="el" href="classExiv2_1_1SonyMakerNote.html">SonyMakerNote</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="4f5f5174aade45ef36a6b21e31d1748d"></a><!-- doxytag: member="Exiv2::SonyMakerNote::~SonyMakerNote" ref="4f5f5174aade45ef36a6b21e31d1748d" args="()" -->
61
 
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SonyMakerNote.html#4f5f5174aade45ef36a6b21e31d1748d">~SonyMakerNote</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_1SonyMakerNote.html#da0d7fb312a644311b67142e7ee16b2f">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="#da0d7fb312a644311b67142e7ee16b2f"></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_1SonyMakerNote.html#4e95d65bf442fcb64dd54f6241d687d2">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="#4e95d65bf442fcb64dd54f6241d687d2"></a><br></td></tr>
72
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1SonyMakerNote.html#43e4a7e86623539c2d5e25bb9eeabe74">AutoPtr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SonyMakerNote.html#6550fcfd2684c5fad67c2276a80c6ebd">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="#6550fcfd2684c5fad67c2276a80c6ebd"></a><br></td></tr>
75
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1SonyMakerNote.html#43e4a7e86623539c2d5e25bb9eeabe74">AutoPtr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1SonyMakerNote.html#9d72edc195dac03b05e8108115ef5132">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="#9d72edc195dac03b05e8108115ef5132"></a><br></td></tr>
78
79
</table>
79
80
<hr><a name="_details"></a><h2>Detailed Description</h2>
80
81
<a class="el" href="classExiv2_1_1MakerNote.html">MakerNote</a> for Sony cameras. 
81
82
<p>
82
83
<hr><h2>Member Function Documentation</h2>
83
 
<a class="anchor" name="4e95d65bf442fcb64dd54f6241d687d2"></a><!-- doxytag: member="Exiv2::SonyMakerNote::checkHeader" ref="4e95d65bf442fcb64dd54f6241d687d2" args="() const " --><p>
84
 
<table class="mdTable" cellpadding="2" cellspacing="0">
85
 
  <tr>
86
 
    <td class="mdRow">
87
 
      <table cellpadding="0" cellspacing="0" border="0">
88
 
        <tr>
89
 
          <td class="md" nowrap valign="top">int Exiv2::SonyMakerNote::checkHeader           </td>
90
 
          <td class="md" valign="top">(&nbsp;</td>
91
 
          <td class="mdname1" valign="top" nowrap>          </td>
92
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
93
 
          <td class="md" nowrap> const<code> [virtual]</code></td>
94
 
        </tr>
95
 
      </table>
96
 
    </td>
97
 
  </tr>
98
 
</table>
99
 
<table cellspacing="5" cellpadding="0" border="0">
100
 
  <tr>
101
 
    <td>
102
 
      &nbsp;
103
 
    </td>
104
 
    <td>
 
84
<a class="anchor" name="da0d7fb312a644311b67142e7ee16b2f"></a><!-- doxytag: member="Exiv2::SonyMakerNote::readHeader" ref="da0d7fb312a644311b67142e7ee16b2f" args="(const byte *buf, long len, ByteOrder byteOrder)" -->
 
85
<div class="memitem">
 
86
<div class="memproto">
 
87
      <table class="memname">
 
88
        <tr>
 
89
          <td class="memname">int Exiv2::SonyMakerNote::readHeader           </td>
 
90
          <td>(</td>
 
91
          <td class="paramtype">const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *&nbsp;</td>
 
92
          <td class="paramname"> <em>buf</em>, </td>
 
93
        </tr>
 
94
        <tr>
 
95
          <td class="paramkey"></td>
 
96
          <td></td>
 
97
          <td class="paramtype">long&nbsp;</td>
 
98
          <td class="paramname"> <em>len</em>, </td>
 
99
        </tr>
 
100
        <tr>
 
101
          <td class="paramkey"></td>
 
102
          <td></td>
 
103
          <td class="paramtype"><a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&nbsp;</td>
 
104
          <td class="paramname"> <em>byteOrder</em></td><td>&nbsp;</td>
 
105
        </tr>
 
106
        <tr>
 
107
          <td></td>
 
108
          <td>)</td>
 
109
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
 
110
        </tr>
 
111
      </table>
 
112
</div>
 
113
<div class="memdoc">
 
114
 
 
115
<p>
 
116
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. 
 
117
<p>
 
118
<dl class="note" compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
 
119
 
 
120
<p>
 
121
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#1dc867ed8091d29f3bbfedc90fca8e6b">Exiv2::IfdMakerNote</a>.
 
122
</div>
 
123
</div><p>
 
124
<a class="anchor" name="6bf54747576b11e1806a6c7034b35961"></a><!-- doxytag: member="Exiv2::SonyMakerNote::checkHeader" ref="6bf54747576b11e1806a6c7034b35961" args="() const" -->
 
125
<div class="memitem">
 
126
<div class="memproto">
 
127
      <table class="memname">
 
128
        <tr>
 
129
          <td class="memname">int Exiv2::SonyMakerNote::checkHeader           </td>
 
130
          <td>(</td>
 
131
          <td class="paramname">          </td>
 
132
          <td>&nbsp;)&nbsp;</td>
 
133
          <td width="100%"> const<code> [virtual]</code></td>
 
134
        </tr>
 
135
      </table>
 
136
</div>
 
137
<div class="memdoc">
105
138
 
106
139
<p>
107
140
Check the makernote header. This will typically check if a required prefix string is present in the header. Return 0 if successful. 
108
141
<p>
109
 
<dl compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
110
 
 
111
 
<p>
112
 
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#43a1f3c82b4607f84cc19b32d775b9bb">Exiv2::IfdMakerNote</a>.    </td>
113
 
  </tr>
114
 
</table>
115
 
<a class="anchor" name="9d72edc195dac03b05e8108115ef5132"></a><!-- doxytag: member="Exiv2::SonyMakerNote::clone" ref="9d72edc195dac03b05e8108115ef5132" args="() const " --><p>
116
 
<table class="mdTable" cellpadding="2" cellspacing="0">
117
 
  <tr>
118
 
    <td class="mdRow">
119
 
      <table cellpadding="0" cellspacing="0" border="0">
120
 
        <tr>
121
 
          <td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1SonyMakerNote.html#43e4a7e86623539c2d5e25bb9eeabe74">SonyMakerNote::AutoPtr</a> Exiv2::SonyMakerNote::clone           </td>
122
 
          <td class="md" valign="top">(&nbsp;</td>
123
 
          <td class="mdname1" valign="top" nowrap>          </td>
124
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
125
 
          <td class="md" nowrap> const</td>
126
 
        </tr>
127
 
      </table>
128
 
    </td>
129
 
  </tr>
130
 
</table>
131
 
<table cellspacing="5" cellpadding="0" border="0">
132
 
  <tr>
133
 
    <td>
134
 
      &nbsp;
135
 
    </td>
136
 
    <td>
137
 
 
138
 
<p>
139
 
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. 
140
 
<p>
141
 
<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>
142
 
 
143
 
<p>
144
 
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#a5067abdc044d2a5c8d23ed6764dd3ae">Exiv2::IfdMakerNote</a>.    </td>
145
 
  </tr>
146
 
</table>
147
 
<a class="anchor" name="6550fcfd2684c5fad67c2276a80c6ebd"></a><!-- doxytag: member="Exiv2::SonyMakerNote::create" ref="6550fcfd2684c5fad67c2276a80c6ebd" args="(bool alloc=true) const " --><p>
148
 
<table class="mdTable" cellpadding="2" cellspacing="0">
149
 
  <tr>
150
 
    <td class="mdRow">
151
 
      <table cellpadding="0" cellspacing="0" border="0">
152
 
        <tr>
153
 
          <td class="md" nowrap valign="top"><a class="el" href="classExiv2_1_1SonyMakerNote.html#43e4a7e86623539c2d5e25bb9eeabe74">SonyMakerNote::AutoPtr</a> Exiv2::SonyMakerNote::create           </td>
154
 
          <td class="md" valign="top">(&nbsp;</td>
155
 
          <td class="md" nowrap valign="top">bool&nbsp;</td>
156
 
          <td class="mdname1" valign="top" nowrap> <em>alloc</em> = <code>true</code>          </td>
157
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
158
 
          <td class="md" nowrap> const</td>
159
 
        </tr>
160
 
      </table>
161
 
    </td>
162
 
  </tr>
163
 
</table>
164
 
<table cellspacing="5" cellpadding="0" border="0">
165
 
  <tr>
166
 
    <td>
167
 
      &nbsp;
168
 
    </td>
169
 
    <td>
 
142
<dl class="note" compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
 
143
 
 
144
<p>
 
145
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#fa78810051bfe723f0a9b52ec321dbd2">Exiv2::IfdMakerNote</a>.
 
146
</div>
 
147
</div><p>
 
148
<a class="anchor" name="6d98fb81499cf0740878416332e1b898"></a><!-- doxytag: member="Exiv2::SonyMakerNote::create" ref="6d98fb81499cf0740878416332e1b898" args="(bool alloc=true) const" -->
 
149
<div class="memitem">
 
150
<div class="memproto">
 
151
      <table class="memname">
 
152
        <tr>
 
153
          <td class="memname"><a class="el" href="classExiv2_1_1MakerNote.html#75c707e4233b5c8cea97e9ff3a32a4df">AutoPtr</a> Exiv2::SonyMakerNote::create           </td>
 
154
          <td>(</td>
 
155
          <td class="paramtype">bool&nbsp;</td>
 
156
          <td class="paramname"> <em>alloc</em> = <code>true</code>          </td>
 
157
          <td>&nbsp;)&nbsp;</td>
 
158
          <td width="100%"> const</td>
 
159
        </tr>
 
160
      </table>
 
161
</div>
 
162
<div class="memdoc">
170
163
 
171
164
<p>
172
165
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. 
173
166
<p>
174
167
<dl compact><dt><b>Parameters:</b></dt><dd>
175
168
  <table border="0" cellspacing="2" cellpadding="0">
176
 
    <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>
 
169
    <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>
177
170
  </table>
178
171
</dl>
179
172
 
180
173
<p>
181
 
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#44d0be551b40d961f0f298784278440b">Exiv2::IfdMakerNote</a>.    </td>
182
 
  </tr>
183
 
</table>
184
 
<a class="anchor" name="da0d7fb312a644311b67142e7ee16b2f"></a><!-- doxytag: member="Exiv2::SonyMakerNote::readHeader" ref="da0d7fb312a644311b67142e7ee16b2f" args="(const byte *buf, long len, ByteOrder byteOrder)" --><p>
185
 
<table class="mdTable" cellpadding="2" cellspacing="0">
186
 
  <tr>
187
 
    <td class="mdRow">
188
 
      <table cellpadding="0" cellspacing="0" border="0">
189
 
        <tr>
190
 
          <td class="md" nowrap valign="top">int Exiv2::SonyMakerNote::readHeader           </td>
191
 
          <td class="md" valign="top">(&nbsp;</td>
192
 
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *&nbsp;</td>
193
 
          <td class="mdname" nowrap> <em>buf</em>, </td>
194
 
        </tr>
195
 
        <tr>
196
 
          <td class="md" nowrap align="right"></td>
197
 
          <td class="md"></td>
198
 
          <td class="md" nowrap>long&nbsp;</td>
199
 
          <td class="mdname" nowrap> <em>len</em>, </td>
200
 
        </tr>
201
 
        <tr>
202
 
          <td class="md" nowrap align="right"></td>
203
 
          <td class="md"></td>
204
 
          <td class="md" nowrap><a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&nbsp;</td>
205
 
          <td class="mdname" nowrap> <em>byteOrder</em></td>
206
 
        </tr>
207
 
        <tr>
208
 
          <td class="md"></td>
209
 
          <td class="md">)&nbsp;</td>
210
 
          <td class="md" colspan="2"><code> [virtual]</code></td>
 
174
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#6d918dd6390b61291b55aada7302f4c9">Exiv2::IfdMakerNote</a>.
 
175
</div>
 
176
</div><p>
 
177
<a class="anchor" name="8ab189b34cb32397c4a0169805e31b0a"></a><!-- doxytag: member="Exiv2::SonyMakerNote::clone" ref="8ab189b34cb32397c4a0169805e31b0a" args="() const" -->
 
178
<div class="memitem">
 
179
<div class="memproto">
 
180
      <table class="memname">
 
181
        <tr>
 
182
          <td class="memname"><a class="el" href="classExiv2_1_1MakerNote.html#75c707e4233b5c8cea97e9ff3a32a4df">AutoPtr</a> Exiv2::SonyMakerNote::clone           </td>
 
183
          <td>(</td>
 
184
          <td class="paramname">          </td>
 
185
          <td>&nbsp;)&nbsp;</td>
 
186
          <td width="100%"> const</td>
211
187
        </tr>
212
188
      </table>
213
 
    </td>
214
 
  </tr>
215
 
</table>
216
 
<table cellspacing="5" cellpadding="0" border="0">
217
 
  <tr>
218
 
    <td>
219
 
      &nbsp;
220
 
    </td>
221
 
    <td>
222
 
 
223
 
<p>
224
 
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. 
225
 
<p>
226
 
<dl compact><dt><b>Note:</b></dt><dd>The default implementation does nothing, assuming there is no header </dd></dl>
227
 
 
228
 
<p>
229
 
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#796687b32472c0ac59cb94d50a8e74fc">Exiv2::IfdMakerNote</a>.    </td>
230
 
  </tr>
231
 
</table>
232
 
<hr>The documentation for this class was generated from the following files:<ul>
233
 
<li><a class="el" href="sonymn_8hpp.html">sonymn.hpp</a><li>sonymn.cpp</ul>
234
 
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 2 23:55:22 2006 for Exiv2 by&nbsp;
 
189
</div>
 
190
<div class="memdoc">
 
191
 
 
192
<p>
 
193
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. 
 
194
<p>
 
195
<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>
 
196
 
 
197
<p>
 
198
Reimplemented from <a class="el" href="classExiv2_1_1IfdMakerNote.html#20498e961ca0173eca4c7a08b3bf55de">Exiv2::IfdMakerNote</a>.
 
199
</div>
 
200
</div><p>
 
201
<hr>The documentation for this class was generated from the following file:<ul>
 
202
<li><a class="el" href="sonymn_8hpp.html">sonymn.hpp</a></ul>
 
203
<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 27 20:16:33 2006 for Exiv2 by&nbsp;
235
204
<a href="http://www.doxygen.org/index.html">
236
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
 
205
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
237
206
</body>
238
207
</html>