File: types_8hpp.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 (298 lines) | stat: -rw-r--r-- 30,374 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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
<!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: types.hpp File 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><a href="classes.html"><span>Classes</span></a></li>
    <li id="current"><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="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
  </ul></div>
<h1>types.hpp File Reference</h1>Type definitions for Exiv2 and related functionality. <a href="#_details">More...</a>
<p>
<code>#include &quot;exv_conf.h&quot;</code><br>
<code>#include &quot;<a class="el" href="exiv2__version_8h.html">exiv2_version.h</a>&quot;</code><br>
<code>#include &lt;string&gt;</code><br>
<code>#include &lt;iosfwd&gt;</code><br>
<code>#include &lt;utility&gt;</code><br>
<code>#include &lt;algorithm&gt;</code><br>
<code>#include &lt;sstream&gt;</code><br>
<code>#include &lt;stdint.h&gt;</code><br>

<p>
Include dependency graph for types.hpp:<p><center><img src="types_8hpp__incl.png" border="0" usemap="#types.hpp_map" alt=""></center>
<map name="types.hpp_map">
<area href="exiv2__version_8h.html" shape="rect" coords="133,6,248,30" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="types_8hpp__dep__incl.png" border="0" usemap="#types.hppdep_map" alt=""></center>
<map name="types.hppdep_map">
<area href="exiv2_8hpp.html" shape="rect" coords="136,6,214,30" alt="">
<area href="image_8hpp.html" shape="rect" coords="442,307,524,331" alt="">
<area href="jpgimage_8hpp.html" shape="rect" coords="766,410,867,434" alt="">
<area href="crwimage_8hpp.html" shape="rect" coords="764,532,868,556" alt="">
<area href="tiffcomposite_8hpp.html" shape="rect" coords="590,156,712,180" alt="">
<area href="makernote2_8hpp.html" shape="rect" coords="919,156,1036,180" alt="">
<area href="tiffvisitor_8hpp.html" shape="rect" coords="768,206,864,230" alt="">
<area href="tiffparser_8hpp.html" shape="rect" coords="767,107,866,131" alt="">
<area href="basicio_8hpp.html" shape="rect" coords="278,375,366,399" alt="">
<area href="metadatum_8hpp.html" shape="rect" coords="264,656,379,680" alt="">
<area href="exif_8hpp.html" shape="rect" coords="616,532,686,556" alt="">
<area href="tags_8hpp.html" shape="rect" coords="447,1010,519,1034" alt="">
<area href="canonmn_8hpp.html" shape="rect" coords="600,963,702,987" alt="">
<area href="fujimn_8hpp.html" shape="rect" coords="610,1011,692,1035" alt="">
<area href="minoltamn_8hpp.html" shape="rect" coords="596,1059,706,1083" alt="">
<area href="nikonmn_8hpp.html" shape="rect" coords="602,1107,700,1131" alt="">
<area href="olympusmn_8hpp.html" shape="rect" coords="594,1155,708,1179" alt="">
<area href="panasonicmn_8hpp.html" shape="rect" coords="588,1203,714,1227" alt="">
<area href="sigmamn_8hpp.html" shape="rect" coords="600,1251,702,1275" alt="">
<area href="sonymn_8hpp.html" shape="rect" coords="604,1299,698,1323" alt="">
<area href="iptc_8hpp.html" shape="rect" coords="616,607,686,631" alt="">
<area href="datasets_8hpp.html" shape="rect" coords="434,758,532,782" alt="">
<area href="value_8hpp.html" shape="rect" coords="135,654,215,678" alt="">
<area href="error_8hpp.html" shape="rect" coords="446,507,520,531" alt="">
<area href="ifd_8hpp.html" shape="rect" coords="291,907,352,931" alt="">
<area href="makernote_8hpp.html" shape="rect" coords="428,1159,538,1183" alt="">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html">Exiv2</a></td></tr>

<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structExiv2_1_1TypeInfoTable.html">Exiv2::TypeInfoTable</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Information pertaining to the defined types.  <a href="structExiv2_1_1TypeInfoTable.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1TypeInfo.html">Exiv2::TypeInfo</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Type information lookup functions. Implemented as a static class.  <a href="classExiv2_1_1TypeInfo.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structExiv2_1_1DataBufRef.html">Exiv2::DataBufRef</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Auxiliary type to enable copies and assignments, similar to std::auto_ptr_ref. See <a href="http://www.josuttis.com/libbook/auto_ptr.html">http://www.josuttis.com/libbook/auto_ptr.html</a> for a discussion.  <a href="structExiv2_1_1DataBufRef.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1DataBuf.html">Exiv2::DataBuf</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility class containing a character array. All it does is to take care of memory allocation and deletion. Its primary use is meant to be as a stack variable in functions that need a temporary data buffer. Todo: this should be some sort of smart pointer, essentially an std::auto_ptr for a character array. But it isn't...  <a href="classExiv2_1_1DataBuf.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16313404f84067c0eb2b44a5e3c0844a"></a><!-- doxytag: member="types.hpp::EXV_CALL_MEMBER_FN" ref="16313404f84067c0eb2b44a5e3c0844a" args="(object, ptrToMember)" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="types_8hpp.html#16313404f84067c0eb2b44a5e3c0844a">EXV_CALL_MEMBER_FN</a>(object, ptrToMember)&nbsp;&nbsp;&nbsp;((object).*(ptrToMember))</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Macro to make calls to member functions through a pointer more readable. See the C++ FAQ LITE, item <a href="http://www.parashift.com/c++-faq-lite/pointers-to-members.html#faq-33.5" title="[33.5] How can I avoid syntax errors when calling a member function using a pointer-to-member-function?">[33.5] How can I avoid syntax errors when calling a member function using a pointer-to-member-function?</a>. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26ec01b2862132b64975e59ad89747b5"></a><!-- doxytag: member="types.hpp::EXV_COUNTOF" ref="26ec01b2862132b64975e59ad89747b5" args="(a)" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="types_8hpp.html#26ec01b2862132b64975e59ad89747b5">EXV_COUNTOF</a>(a)&nbsp;&nbsp;&nbsp;(sizeof(sizer(a)))</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Macro to determine the size of an array. <br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16f60a5bd4207fe155f6cf93a15efa72"></a><!-- doxytag: member="types.hpp::byte" ref="16f60a5bd4207fe155f6cf93a15efa72" args="" -->
typedef uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">Exiv2::byte</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1 byte unsigned integer type. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="edcaa9af0563cbd00a19b040d5aa7a70"></a><!-- doxytag: member="types.hpp::URational" ref="edcaa9af0563cbd00a19b040d5aa7a70" args="" -->
typedef std::pair&lt; uint32_t,<br>
 uint32_t &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#edcaa9af0563cbd00a19b040d5aa7a70">Exiv2::URational</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">8 byte unsigned rational type. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95756f3f7fa19103f83addf5fa088a30"></a><!-- doxytag: member="types.hpp::Rational" ref="95756f3f7fa19103f83addf5fa088a30" args="" -->
typedef std::pair&lt; int32_t,<br>
 int32_t &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#95756f3f7fa19103f83addf5fa088a30">Exiv2::Rational</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">8 byte signed rational type. <br></td></tr>
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">Exiv2::ByteOrder</a> { <b>invalidByteOrder</b>, 
<b>littleEndian</b>, 
<b>bigEndian</b>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Type to express the byte order (little or big endian). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#cca494c8cf80f3ac8a804e1b54afffca">Exiv2::MetadataId</a> { <b>mdExif</b> = 1, 
<b>mdIptc</b> = 2, 
<b>mdComment</b> = 4
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An identifier for each type of metadata. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#5153319711f35fe81cbc13f4b852450c">Exiv2::TypeId</a> { <br>
&nbsp;&nbsp;<b>invalidTypeId</b>, 
<b>unsignedByte</b>, 
<b>asciiString</b>, 
<b>unsignedShort</b>, 
<br>
&nbsp;&nbsp;<b>unsignedLong</b>, 
<b>unsignedRational</b>, 
<b>invalid6</b>, 
<b>undefined</b>, 
<br>
&nbsp;&nbsp;<b>signedShort</b>, 
<b>signedLong</b>, 
<b>signedRational</b>, 
<b>string</b>, 
<br>
&nbsp;&nbsp;<b>date</b>, 
<b>time</b>, 
<b>comment</b>, 
<b>directory</b>, 
<br>
&nbsp;&nbsp;<b>lastTypeId</b>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Type identifiers for IFD format types. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#1615152767a506a955c9d13443b56b62">Exiv2::IfdId</a> { <br>
&nbsp;&nbsp;<b>ifdIdNotSet</b>, 
<b>ifd0Id</b>, 
<b>exifIfdId</b>, 
<b>gpsIfdId</b>, 
<br>
&nbsp;&nbsp;<b>iopIfdId</b>, 
<b>ifd1Id</b>, 
<b>canonIfdId</b>, 
<b>canonCs1IfdId</b>, 
<br>
&nbsp;&nbsp;<b>canonCs2IfdId</b>, 
<b>canonCfIfdId</b>, 
<b>fujiIfdId</b>, 
<b>minoltaIfdId</b>, 
<br>
&nbsp;&nbsp;<b>minoltaCs5DIfdId</b>, 
<b>minoltaCs7DIfdId</b>, 
<b>minoltaCsOldIfdId</b>, 
<b>minoltaCsNewIfdId</b>, 
<br>
&nbsp;&nbsp;<b>nikon1IfdId</b>, 
<b>nikon2IfdId</b>, 
<b>nikon3IfdId</b>, 
<b>olympusIfdId</b>, 
<br>
&nbsp;&nbsp;<b>panasonicIfdId</b>, 
<b>sigmaIfdId</b>, 
<b>sonyIfdId</b>, 
<b>lastIfdId</b>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Type to specify the IFD to which a metadata belongs. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#aff9c08bf73e82622054ae7bba51bcdf">Exiv2::DataLocId</a> { <b>invalidDataLocId</b>, 
<b>valueData</b>, 
<b>directoryData</b>, 
<b>lastDataLocId</b>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Type to identify where the data is stored in a directory. <br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a30946063473cd475bb96c36d22b946"></a><!-- doxytag: member="types.hpp::getUShort" ref="5a30946063473cd475bb96c36d22b946" args="(const byte *buf, ByteOrder byteOrder)" -->
uint16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#5a30946063473cd475bb96c36d22b946">Exiv2::getUShort</a> (const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read a 2 byte unsigned short value from the data buffer. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46271e2b9e058665e3fbba0d8b628118"></a><!-- doxytag: member="types.hpp::getULong" ref="46271e2b9e058665e3fbba0d8b628118" args="(const byte *buf, ByteOrder byteOrder)" -->
uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#46271e2b9e058665e3fbba0d8b628118">Exiv2::getULong</a> (const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read a 4 byte unsigned long value from the data buffer. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4e7e47da013d52b3051f6f3275fd841"></a><!-- doxytag: member="types.hpp::getURational" ref="f4e7e47da013d52b3051f6f3275fd841" args="(const byte *buf, ByteOrder byteOrder)" -->
<a class="el" href="namespaceExiv2.html#edcaa9af0563cbd00a19b040d5aa7a70">URational</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#f4e7e47da013d52b3051f6f3275fd841">Exiv2::getURational</a> (const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read an 8 byte unsigned rational value from the data buffer. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c3c33f7c9c0de7c9e0fe676913483c6"></a><!-- doxytag: member="types.hpp::getShort" ref="3c3c33f7c9c0de7c9e0fe676913483c6" args="(const byte *buf, ByteOrder byteOrder)" -->
int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#3c3c33f7c9c0de7c9e0fe676913483c6">Exiv2::getShort</a> (const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read a 2 byte signed short value from the data buffer. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7358bb2d8113cea488fbe9b1e9396dd"></a><!-- doxytag: member="types.hpp::getLong" ref="d7358bb2d8113cea488fbe9b1e9396dd" args="(const byte *buf, ByteOrder byteOrder)" -->
int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#d7358bb2d8113cea488fbe9b1e9396dd">Exiv2::getLong</a> (const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read a 4 byte signed long value from the data buffer. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b3a32ce01ae37e1a68df67871364b390"></a><!-- doxytag: member="types.hpp::getRational" ref="b3a32ce01ae37e1a68df67871364b390" args="(const byte *buf, ByteOrder byteOrder)" -->
<a class="el" href="namespaceExiv2.html#95756f3f7fa19103f83addf5fa088a30">Rational</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#b3a32ce01ae37e1a68df67871364b390">Exiv2::getRational</a> (const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read an 8 byte signed rational value from the data buffer. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2cb3ff31157141b38638083c74d7c113"></a><!-- doxytag: member="types.hpp::operator&lt;&lt;" ref="2cb3ff31157141b38638083c74d7c113" args="(std::ostream &amp;os, const Rational &amp;r)" -->
std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#2cb3ff31157141b38638083c74d7c113">Exiv2::operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="namespaceExiv2.html#95756f3f7fa19103f83addf5fa088a30">Rational</a> &amp;r)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Output operator for our fake rational. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d622f6bda0e524cee2f2c234f18db16e"></a><!-- doxytag: member="types.hpp::operator&gt;&gt;" ref="d622f6bda0e524cee2f2c234f18db16e" args="(std::istream &amp;is, Rational &amp;r)" -->
std::istream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#d622f6bda0e524cee2f2c234f18db16e">Exiv2::operator&gt;&gt;</a> (std::istream &amp;is, <a class="el" href="namespaceExiv2.html#95756f3f7fa19103f83addf5fa088a30">Rational</a> &amp;r)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Input operator for our fake rational. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="918f7974ef0a25a4b3d74108b2bba342"></a><!-- doxytag: member="types.hpp::operator&lt;&lt;" ref="918f7974ef0a25a4b3d74108b2bba342" args="(std::ostream &amp;os, const URational &amp;r)" -->
std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#918f7974ef0a25a4b3d74108b2bba342">Exiv2::operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="namespaceExiv2.html#edcaa9af0563cbd00a19b040d5aa7a70">URational</a> &amp;r)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Output operator for our fake unsigned rational. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ab9d674f027efa28f71af2500e8160f2"></a><!-- doxytag: member="types.hpp::operator&gt;&gt;" ref="ab9d674f027efa28f71af2500e8160f2" args="(std::istream &amp;is, URational &amp;r)" -->
std::istream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#ab9d674f027efa28f71af2500e8160f2">Exiv2::operator&gt;&gt;</a> (std::istream &amp;is, <a class="el" href="namespaceExiv2.html#edcaa9af0563cbd00a19b040d5aa7a70">URational</a> &amp;r)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Input operator for our fake unsigned rational. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fde14a0740fb12cdf9f284ed27a330df"></a><!-- doxytag: member="types.hpp::us2Data" ref="fde14a0740fb12cdf9f284ed27a330df" args="(byte *buf, uint16_t s, ByteOrder byteOrder)" -->
long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#fde14a0740fb12cdf9f284ed27a330df">Exiv2::us2Data</a> (<a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, uint16_t s, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert an unsigned short to data, write the data to the buffer, return number of bytes written. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4711481c63a67de72e1b4607cc11f5ac"></a><!-- doxytag: member="types.hpp::ul2Data" ref="4711481c63a67de72e1b4607cc11f5ac" args="(byte *buf, uint32_t l, ByteOrder byteOrder)" -->
long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#4711481c63a67de72e1b4607cc11f5ac">Exiv2::ul2Data</a> (<a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, uint32_t l, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert an unsigned long to data, write the data to the buffer, return number of bytes written. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1972bf59be834b8e163b46376ea79f1"></a><!-- doxytag: member="types.hpp::ur2Data" ref="d1972bf59be834b8e163b46376ea79f1" args="(byte *buf, URational l, ByteOrder byteOrder)" -->
long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#d1972bf59be834b8e163b46376ea79f1">Exiv2::ur2Data</a> (<a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#edcaa9af0563cbd00a19b040d5aa7a70">URational</a> l, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert an unsigned rational to data, write the data to the buffer, return number of bytes written. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e94958c497b8380cc574fa2c75e66a5f"></a><!-- doxytag: member="types.hpp::s2Data" ref="e94958c497b8380cc574fa2c75e66a5f" args="(byte *buf, int16_t s, ByteOrder byteOrder)" -->
long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#e94958c497b8380cc574fa2c75e66a5f">Exiv2::s2Data</a> (<a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, int16_t s, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a signed short to data, write the data to the buffer, return number of bytes written. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34f6d26c2d1cccbcda6e49f606675645"></a><!-- doxytag: member="types.hpp::l2Data" ref="34f6d26c2d1cccbcda6e49f606675645" args="(byte *buf, int32_t l, ByteOrder byteOrder)" -->
long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#34f6d26c2d1cccbcda6e49f606675645">Exiv2::l2Data</a> (<a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, int32_t l, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a signed long to data, write the data to the buffer, return number of bytes written. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0464649e6f53f20c42d986972a43d47"></a><!-- doxytag: member="types.hpp::r2Data" ref="c0464649e6f53f20c42d986972a43d47" args="(byte *buf, Rational l, ByteOrder byteOrder)" -->
long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#c0464649e6f53f20c42d986972a43d47">Exiv2::r2Data</a> (<a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#95756f3f7fa19103f83addf5fa088a30">Rational</a> l, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a signed rational to data, write the data to the buffer, return number of bytes written. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0dd0aabfe5c64537cbebe5c7a01e1bed"></a><!-- doxytag: member="types.hpp::hexdump" ref="0dd0aabfe5c64537cbebe5c7a01e1bed" args="(std::ostream &amp;os, const byte *buf, long len, long offset=0)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#0dd0aabfe5c64537cbebe5c7a01e1bed">Exiv2::hexdump</a> (std::ostream &amp;os, const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, long len, long offset=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print len bytes from buf in hex and ASCII format to the given stream, prefixed with the position in the buffer adjusted by offset. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="261778b8785eb1d32f7336433d4099e2"></a><!-- doxytag: member="types.hpp::isHex" ref="261778b8785eb1d32f7336433d4099e2" args="(const std::string &amp;str, size_t size=0, const std::string &amp;prefix=&quot;&quot;)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#261778b8785eb1d32f7336433d4099e2">Exiv2::isHex</a> (const std::string &amp;str, size_t size=0, const std::string &amp;prefix=&quot;&quot;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return true if str is a hex number starting with prefix followed by size hex digits, false otherwise. If size is 0, any number of digits is allowed and all are checked. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb57924947c38d0d3b5f25d28fa1cf38"></a><!-- doxytag: member="types.hpp::exifTime" ref="fb57924947c38d0d3b5f25d28fa1cf38" args="(const char *buf, struct tm *tm)" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#fb57924947c38d0d3b5f25d28fa1cf38">Exiv2::exifTime</a> (const char *buf, struct tm *tm)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts a string in the form "%Y:%m:%d %H:%M:%S", e.g., "2007:05:24 12:31:55" to broken down time format, returns 0 if successful, else 1. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T, typename K, int N&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const T *&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#4381699096a0e59caac9c635d82dc37c">Exiv2::find</a> (T(&amp;src)[N], const K &amp;key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find an element that matches <em>key</em> in the array <em>src</em>.  <a href="#4381699096a0e59caac9c635d82dc37c"></a><br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d644d56ab85ca10a9fd3c916c114f3b7"></a><!-- doxytag: member="types.hpp::char" ref="d644d56ab85ca10a9fd3c916c114f3b7" args="(&amp;sizer(T(&amp;)[N]))[N]" -->
template&lt;typename T, int N&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#d644d56ab85ca10a9fd3c916c114f3b7">Exiv2::char</a> (&amp;sizer(T(&amp;)[N]))[N]</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Template used in the COUNTOF macro to determine the size of an array. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="1bd7bbbdf2e6540daed5bcfcbbae379a"></a><!-- doxytag: member="types.hpp::toString" ref="1bd7bbbdf2e6540daed5bcfcbbae379a" args="(const T &amp;arg)" -->
template&lt;typename T&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#1bd7bbbdf2e6540daed5bcfcbbae379a">Exiv2::toString</a> (const T &amp;arg)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility function to convert the argument of any type to a string. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename IntType&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">IntType&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#c6d4e10644cf2a0373c52e4e3c91e0fb">Exiv2::gcd</a> (IntType n, IntType m)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the greatest common denominator of n and m. (implementation from Boost rational.hpp).  <a href="#c6d4e10644cf2a0373c52e4e3c91e0fb"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Type definitions for Exiv2 and related functionality. 
<p>
<dl compact><dt><b>Version:</b></dt><dd><dl compact><dt><b>Rev</b></dt><dd>808 </dd></dl>
</dd></dl>
<dl compact><dt><b>Author:</b></dt><dd>Andreas Huggel (ahu) <a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a> </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>09-Jan-04, ahu: created<br>
 11-Feb-04, ahu: isolated as a component 31-Jul-04, brad: added Time, Data and String values </dd></dl>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 2 23:54:34 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>