File: classExiv2_1_1TiffRwState.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 (127 lines) | stat: -rw-r--r-- 8,601 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
<!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::TiffRwState 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_1TiffRwState.html">TiffRwState</a></div>
<h1>Exiv2::TiffRwState Class Reference</h1><!-- doxytag: class="Exiv2::TiffRwState" -->Simple state class containing relevant state information for the TIFF reader. This is in a separate class so that the reader can change state if needed (e.g., to read certain complex makernotes).  
<a href="#_details">More...</a>
<p>
<code>#include &lt;tiffvisitor.hpp&gt;</code>
<p>
<a href="classExiv2_1_1TiffRwState-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="ae29afcaeb636bb11d55b79509a91486"></a><!-- doxytag: member="Exiv2::TiffRwState::AutoPtr" ref="ae29afcaeb636bb11d55b79509a91486" args="" -->
typedef std::auto_ptr&lt; <a class="el" href="classExiv2_1_1TiffRwState.html">TiffRwState</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1TiffRwState.html#ae29afcaeb636bb11d55b79509a91486">AutoPtr</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">TiffRWState auto_ptr type. <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="03b75ebd49ce68753ddae90917592790"></a><!-- doxytag: member="Exiv2::TiffRwState::TiffRwState" ref="03b75ebd49ce68753ddae90917592790" args="(ByteOrder byteOrder, uint32_t baseOffset, TiffCompFactoryFct createFct=0)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1TiffRwState.html#03b75ebd49ce68753ddae90917592790">TiffRwState</a> (<a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder, uint32_t baseOffset, <a class="el" href="namespaceExiv2.html#4631b18f70e7472d54223173703716a1">TiffCompFactoryFct</a> createFct=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7025ea0e75d478b72dbfe3147a96637c"></a><!-- doxytag: member="Exiv2::TiffRwState::byteOrder" ref="7025ea0e75d478b72dbfe3147a96637c" args="() const " -->
<a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1TiffRwState.html#7025ea0e75d478b72dbfe3147a96637c">byteOrder</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the applicable byte order. May be different for the Makernote and the rest of the TIFF entries. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1TiffRwState.html#221d3eddfebc26ef443d01d0f7da01fa">baseOffset</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the base offset.  <a href="#221d3eddfebc26ef443d01d0f7da01fa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceExiv2.html#4631b18f70e7472d54223173703716a1">TiffCompFactoryFct</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1TiffRwState.html#29b49cf163497c481adf7e08cb7839fd">createFct</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the factory function to create new TIFF components.  <a href="#29b49cf163497c481adf7e08cb7839fd"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31374ffe9078164397312eb0092b8177"></a><!-- doxytag: member="Exiv2::TiffRwState::TiffReader" ref="31374ffe9078164397312eb0092b8177" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>TiffReader</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Simple state class containing relevant state information for the TIFF reader. This is in a separate class so that the reader can change state if needed (e.g., to read certain complex makernotes). 
<p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="221d3eddfebc26ef443d01d0f7da01fa"></a><!-- doxytag: member="Exiv2::TiffRwState::baseOffset" ref="221d3eddfebc26ef443d01d0f7da01fa" 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">uint32_t Exiv2::TiffRwState::baseOffset           </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> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the base offset. 
<p>
TIFF standard format uses byte offsets which are always relative to the start of the TIFF file, i.e., relative to the start of the TIFF image header. In this case, the base offset is 0. However, some camera vendors encode their makernotes in TIFF IFDs using offsets relative to (somewhere near) the start of the makernote data. In this case, base offset added to the start of the TIFF image header points to the basis for such makernote offsets.     </td>
  </tr>
</table>
<a class="anchor" name="29b49cf163497c481adf7e08cb7839fd"></a><!-- doxytag: member="Exiv2::TiffRwState::createFct" ref="29b49cf163497c481adf7e08cb7839fd" 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="namespaceExiv2.html#4631b18f70e7472d54223173703716a1">TiffCompFactoryFct</a> Exiv2::TiffRwState::createFct           </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> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the factory function to create new TIFF components. 
<p>
Different create functions may use different lookup tables, so that makernotes can independently use their own factory function and lookup table, which can be defined together with the makernote implementation.     </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="tiffvisitor_8hpp.html">tiffvisitor.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 2 23:55:35 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>