Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates > by-pkgid > 12cd2b60e7ffa1b93f26cacdd7197eb9 > files > 245

exiv2-doc-0.24-5.1.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>Exiv2: Exiv2::Exifdatum Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Exiv2
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.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>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceExiv2.html">Exiv2</a></li><li class="navelem"><a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#friends">Friends</a> &#124;
<a href="classExiv2_1_1Exifdatum-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Exiv2::Exifdatum Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>An Exif metadatum, consisting of an <a class="el" href="classExiv2_1_1ExifKey.html" title="Concrete keys for Exif metadata and access to Exif tag reference data. ">ExifKey</a> and a <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> and methods to manipulate these.  
 <a href="classExiv2_1_1Exifdatum.html#details">More...</a></p>

<p><code>#include &lt;exif.hpp&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Exiv2::Exifdatum:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classExiv2_1_1Exifdatum__inherit__graph.png" border="0" usemap="#Exiv2_1_1Exifdatum_inherit__map" alt="Inheritance graph"/></div>
<map name="Exiv2_1_1Exifdatum_inherit__map" id="Exiv2_1_1Exifdatum_inherit__map">
<area shape="rect" id="node2" href="classExiv2_1_1Metadatum.html" title="Abstract base class defining the interface to access information related to one metadata tag..." alt="" coords="5,5,188,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for Exiv2::Exifdatum:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classExiv2_1_1Exifdatum__coll__graph.png" border="0" usemap="#Exiv2_1_1Exifdatum_coll__map" alt="Collaboration graph"/></div>
<map name="Exiv2_1_1Exifdatum_coll__map" id="Exiv2_1_1Exifdatum_coll__map">
<area shape="rect" id="node2" href="classExiv2_1_1Metadatum.html" title="Abstract base class defining the interface to access information related to one metadata tag..." alt="" coords="5,5,188,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
<tr class="memitem:a1cf84038e3ead29592469bd756144de7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a1cf84038e3ead29592469bd756144de7">Exifdatum</a> (const <a class="el" href="classExiv2_1_1ExifKey.html">ExifKey</a> &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a6651602de3d217dd622d33ab67289c11">key</a>, const <a class="el" href="classExiv2_1_1Value.html">Value</a> *pValue=0)</td></tr>
<tr class="memdesc:a1cf84038e3ead29592469bd756144de7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for new tags created by an application. The Exifdatum is created from a <em>key</em> / value pair. Exifdatum copies (clones) the <em>key</em> and value if one is provided. Alternatively, a program can create an 'empty' Exifdatum with only a key and set the value using <a class="el" href="classExiv2_1_1Exifdatum.html#a8e1c4b0d24e694e91ebc3f8517365bcd" title="Set the value of exifDatum to value. If the object already has a value, it is replaced. Otherwise a new ValueType<T> value is created and set to value. ">setValue()</a>.  <a href="#a1cf84038e3ead29592469bd756144de7">More...</a><br /></td></tr>
<tr class="separator:a1cf84038e3ead29592469bd756144de7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a742963f5494cc749bd90ad1b6d9e737f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a742963f5494cc749bd90ad1b6d9e737f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a742963f5494cc749bd90ad1b6d9e737f">Exifdatum</a> (const <a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;rhs)</td></tr>
<tr class="memdesc:a742963f5494cc749bd90ad1b6d9e737f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a742963f5494cc749bd90ad1b6d9e737f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac65d802d3ff0951ec7b93d3d703ccc8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac65d802d3ff0951ec7b93d3d703ccc8a"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#ac65d802d3ff0951ec7b93d3d703ccc8a">~Exifdatum</a> ()</td></tr>
<tr class="memdesc:ac65d802d3ff0951ec7b93d3d703ccc8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:ac65d802d3ff0951ec7b93d3d703ccc8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr class="memitem:aab7eab62ed82f33e12cd8d88ffa9a5d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab7eab62ed82f33e12cd8d88ffa9a5d9"></a>
<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#aab7eab62ed82f33e12cd8d88ffa9a5d9">operator=</a> (const <a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;rhs)</td></tr>
<tr class="memdesc:aab7eab62ed82f33e12cd8d88ffa9a5d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <br /></td></tr>
<tr class="separator:aab7eab62ed82f33e12cd8d88ffa9a5d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad29bb9ce35e4b7be8ea67d26738bed65"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad29bb9ce35e4b7be8ea67d26738bed65"></a>
<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#ad29bb9ce35e4b7be8ea67d26738bed65">operator=</a> (const uint16_t &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a>)</td></tr>
<tr class="memdesc:ad29bb9ce35e4b7be8ea67d26738bed65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Exifdatum. The type of the new <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> is set to UShortValue. <br /></td></tr>
<tr class="separator:ad29bb9ce35e4b7be8ea67d26738bed65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36d15c86f69d419135bbca96aace313f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36d15c86f69d419135bbca96aace313f"></a>
<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a36d15c86f69d419135bbca96aace313f">operator=</a> (const uint32_t &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a>)</td></tr>
<tr class="memdesc:a36d15c86f69d419135bbca96aace313f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Exifdatum. The type of the new <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> is set to ULongValue. <br /></td></tr>
<tr class="separator:a36d15c86f69d419135bbca96aace313f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ba36dfab4b35ce63ddba8a709bc9a60"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ba36dfab4b35ce63ddba8a709bc9a60"></a>
<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a7ba36dfab4b35ce63ddba8a709bc9a60">operator=</a> (const <a class="el" href="namespaceExiv2.html#aedcaa9af0563cbd00a19b040d5aa7a70">URational</a> &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a>)</td></tr>
<tr class="memdesc:a7ba36dfab4b35ce63ddba8a709bc9a60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Exifdatum. The type of the new <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> is set to URationalValue. <br /></td></tr>
<tr class="separator:a7ba36dfab4b35ce63ddba8a709bc9a60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad57bfe66904fec5a5dee0ddb771dfc1f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad57bfe66904fec5a5dee0ddb771dfc1f"></a>
<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#ad57bfe66904fec5a5dee0ddb771dfc1f">operator=</a> (const int16_t &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a>)</td></tr>
<tr class="memdesc:ad57bfe66904fec5a5dee0ddb771dfc1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Exifdatum. The type of the new <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> is set to ShortValue. <br /></td></tr>
<tr class="separator:ad57bfe66904fec5a5dee0ddb771dfc1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c2554feadba5d32c506eb3440906ef6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c2554feadba5d32c506eb3440906ef6"></a>
<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a8c2554feadba5d32c506eb3440906ef6">operator=</a> (const int32_t &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a>)</td></tr>
<tr class="memdesc:a8c2554feadba5d32c506eb3440906ef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Exifdatum. The type of the new <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> is set to LongValue. <br /></td></tr>
<tr class="separator:a8c2554feadba5d32c506eb3440906ef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a78b171519e1d8f2dd4fa81f850a9fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a78b171519e1d8f2dd4fa81f850a9fc"></a>
<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a2a78b171519e1d8f2dd4fa81f850a9fc">operator=</a> (const <a class="el" href="namespaceExiv2.html#a95756f3f7fa19103f83addf5fa088a30">Rational</a> &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a>)</td></tr>
<tr class="memdesc:a2a78b171519e1d8f2dd4fa81f850a9fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Exifdatum. The type of the new <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> is set to RationalValue. <br /></td></tr>
<tr class="separator:a2a78b171519e1d8f2dd4fa81f850a9fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa27c6cb13826a42651d1d2e42c73f3bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa27c6cb13826a42651d1d2e42c73f3bd"></a>
<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#aa27c6cb13826a42651d1d2e42c73f3bd">operator=</a> (const std::string &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a>)</td></tr>
<tr class="memdesc:aa27c6cb13826a42651d1d2e42c73f3bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Exifdatum. Calls <a class="el" href="classExiv2_1_1Exifdatum.html#a0fc1f52444c8d7026265f6b327197c47" title="Set the value to the string value. Uses Value::read(const std::string&). If the Exifdatum does not ha...">setValue(const std::string&amp;)</a>. <br /></td></tr>
<tr class="separator:aa27c6cb13826a42651d1d2e42c73f3bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ea0ff4062fc55ed0c28a353a5affe4c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ea0ff4062fc55ed0c28a353a5affe4c"></a>
<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a9ea0ff4062fc55ed0c28a353a5affe4c">operator=</a> (const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a>)</td></tr>
<tr class="memdesc:a9ea0ff4062fc55ed0c28a353a5affe4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Exifdatum. Calls <a class="el" href="classExiv2_1_1Exifdatum.html#a211bad1b193debd1789d7c16ece26b38" title="Set the value. This method copies (clones) the value pointed to by pValue. ">setValue(const Value*)</a>. <br /></td></tr>
<tr class="separator:a9ea0ff4062fc55ed0c28a353a5affe4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a211bad1b193debd1789d7c16ece26b38"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a211bad1b193debd1789d7c16ece26b38"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a211bad1b193debd1789d7c16ece26b38">setValue</a> (const <a class="el" href="classExiv2_1_1Value.html">Value</a> *pValue)</td></tr>
<tr class="memdesc:a211bad1b193debd1789d7c16ece26b38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value. This method copies (clones) the value pointed to by pValue. <br /></td></tr>
<tr class="separator:a211bad1b193debd1789d7c16ece26b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fc1f52444c8d7026265f6b327197c47"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0fc1f52444c8d7026265f6b327197c47"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a0fc1f52444c8d7026265f6b327197c47">setValue</a> (const std::string &amp;<a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a>)</td></tr>
<tr class="memdesc:a0fc1f52444c8d7026265f6b327197c47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value to the string <em>value</em>. Uses <a class="el" href="classExiv2_1_1Value.html#acc8870f802ebcdf9d4e081816ad8956e" title="Read the value from a character buffer. ">Value::read</a>(const std::string&amp;). If the Exifdatum does not have a <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> yet, then a Value of the correct type for this Exifdatum is created. An <a class="el" href="classExiv2_1_1AsciiValue.html" title="Value for an Ascii string type. ">AsciiValue</a> is created for unknown tags. Return 0 if the value was read successfully. <br /></td></tr>
<tr class="separator:a0fc1f52444c8d7026265f6b327197c47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa229bf86f961689cf9051bc603a64c9e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#aa229bf86f961689cf9051bc603a64c9e">setDataArea</a> (const <a class="el" href="namespaceExiv2.html#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, long len)</td></tr>
<tr class="memdesc:aa229bf86f961689cf9051bc603a64c9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the data area by copying (cloning) the buffer pointed to by <em>buf</em>.  <a href="#aa229bf86f961689cf9051bc603a64c9e">More...</a><br /></td></tr>
<tr class="separator:aa229bf86f961689cf9051bc603a64c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr class="memitem:a6651602de3d217dd622d33ab67289c11"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6651602de3d217dd622d33ab67289c11"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a6651602de3d217dd622d33ab67289c11">key</a> () const </td></tr>
<tr class="memdesc:a6651602de3d217dd622d33ab67289c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the key of the Exifdatum. <br /></td></tr>
<tr class="separator:a6651602de3d217dd622d33ab67289c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adddcc29223d25d016ee53d1f83589eef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adddcc29223d25d016ee53d1f83589eef"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#adddcc29223d25d016ee53d1f83589eef">familyName</a> () const </td></tr>
<tr class="memdesc:adddcc29223d25d016ee53d1f83589eef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the metadata family (which is also the first part of the key) <br /></td></tr>
<tr class="separator:adddcc29223d25d016ee53d1f83589eef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c26a6a6a091a7907569fc0aeca911a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5c26a6a6a091a7907569fc0aeca911a4"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a5c26a6a6a091a7907569fc0aeca911a4">groupName</a> () const </td></tr>
<tr class="memdesc:a5c26a6a6a091a7907569fc0aeca911a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the metadata group (which is also the second part of the key) <br /></td></tr>
<tr class="separator:a5c26a6a6a091a7907569fc0aeca911a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a130c6051bc6cf94aafa98a3d63148f60"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a130c6051bc6cf94aafa98a3d63148f60"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a130c6051bc6cf94aafa98a3d63148f60">tagName</a> () const </td></tr>
<tr class="memdesc:a130c6051bc6cf94aafa98a3d63148f60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the tag (which is also the third part of the key) <br /></td></tr>
<tr class="separator:a130c6051bc6cf94aafa98a3d63148f60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1026cd809ee9a03475d30db60eb9824"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1026cd809ee9a03475d30db60eb9824"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#af1026cd809ee9a03475d30db60eb9824">tagLabel</a> () const </td></tr>
<tr class="memdesc:af1026cd809ee9a03475d30db60eb9824"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a label for the tag. <br /></td></tr>
<tr class="separator:af1026cd809ee9a03475d30db60eb9824"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae75e9a656877bf62b3575e67da13df16"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae75e9a656877bf62b3575e67da13df16"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#ae75e9a656877bf62b3575e67da13df16">tag</a> () const </td></tr>
<tr class="memdesc:ae75e9a656877bf62b3575e67da13df16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the tag. <br /></td></tr>
<tr class="separator:ae75e9a656877bf62b3575e67da13df16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53d8e735e5238e2120acc63b5c28361a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a53d8e735e5238e2120acc63b5c28361a"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a53d8e735e5238e2120acc63b5c28361a">ifdId</a> () const </td></tr>
<tr class="memdesc:a53d8e735e5238e2120acc63b5c28361a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the IFD id as an integer. (Do not use, this is meant for library internal use.) <br /></td></tr>
<tr class="separator:a53d8e735e5238e2120acc63b5c28361a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b153240122e09fa0b2c5922d8577959"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b153240122e09fa0b2c5922d8577959"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a4b153240122e09fa0b2c5922d8577959">ifdName</a> () const </td></tr>
<tr class="memdesc:a4b153240122e09fa0b2c5922d8577959"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the IFD. <br /></td></tr>
<tr class="separator:a4b153240122e09fa0b2c5922d8577959"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cc9253e83d3ce70f8159773fcc40871"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9cc9253e83d3ce70f8159773fcc40871"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a9cc9253e83d3ce70f8159773fcc40871">idx</a> () const </td></tr>
<tr class="memdesc:a9cc9253e83d3ce70f8159773fcc40871"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the index (unique id of this key within the original IFD) <br /></td></tr>
<tr class="separator:a9cc9253e83d3ce70f8159773fcc40871"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28391f10f14d66cabeb8042853e311cd"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a28391f10f14d66cabeb8042853e311cd">copy</a> (<a class="el" href="namespaceExiv2.html#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#a94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder) const </td></tr>
<tr class="memdesc:a28391f10f14d66cabeb8042853e311cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write value to a data buffer and return the number of bytes written.  <a href="#a28391f10f14d66cabeb8042853e311cd">More...</a><br /></td></tr>
<tr class="separator:a28391f10f14d66cabeb8042853e311cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ba934f8a9fb3a93ae71e605bc85c921"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a2ba934f8a9fb3a93ae71e605bc85c921">write</a> (std::ostream &amp;os, const <a class="el" href="classExiv2_1_1ExifData.html">ExifData</a> *pMetadata=0) const </td></tr>
<tr class="memdesc:a2ba934f8a9fb3a93ae71e605bc85c921"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the interpreted value to an output stream, return the stream.  <a href="#a2ba934f8a9fb3a93ae71e605bc85c921">More...</a><br /></td></tr>
<tr class="separator:a2ba934f8a9fb3a93ae71e605bc85c921"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f0f8b292fc3c80c0708d20159567e0d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f0f8b292fc3c80c0708d20159567e0d"></a>
<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a4f0f8b292fc3c80c0708d20159567e0d">typeId</a> () const </td></tr>
<tr class="memdesc:a4f0f8b292fc3c80c0708d20159567e0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the type id of the value. <br /></td></tr>
<tr class="separator:a4f0f8b292fc3c80c0708d20159567e0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d05145ef9213a6e4dcd2a699f66ded7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2d05145ef9213a6e4dcd2a699f66ded7"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a2d05145ef9213a6e4dcd2a699f66ded7">typeName</a> () const </td></tr>
<tr class="memdesc:a2d05145ef9213a6e4dcd2a699f66ded7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the type. <br /></td></tr>
<tr class="separator:a2d05145ef9213a6e4dcd2a699f66ded7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeab615faeb373eeabae3d1d89a954f93"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeab615faeb373eeabae3d1d89a954f93"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#aeab615faeb373eeabae3d1d89a954f93">typeSize</a> () const </td></tr>
<tr class="memdesc:aeab615faeb373eeabae3d1d89a954f93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size in bytes of one component of this type. <br /></td></tr>
<tr class="separator:aeab615faeb373eeabae3d1d89a954f93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72cd8dd5a63bd7a6e4ef73615479031f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72cd8dd5a63bd7a6e4ef73615479031f"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a72cd8dd5a63bd7a6e4ef73615479031f">count</a> () const </td></tr>
<tr class="memdesc:a72cd8dd5a63bd7a6e4ef73615479031f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of components in the value. <br /></td></tr>
<tr class="separator:a72cd8dd5a63bd7a6e4ef73615479031f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab77162e139896a971c16e01402acebb8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab77162e139896a971c16e01402acebb8"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#ab77162e139896a971c16e01402acebb8">size</a> () const </td></tr>
<tr class="memdesc:ab77162e139896a971c16e01402acebb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size of the value in bytes. <br /></td></tr>
<tr class="separator:ab77162e139896a971c16e01402acebb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d1e5346411c2adf520fec405f2e536"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a73d1e5346411c2adf520fec405f2e536"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a73d1e5346411c2adf520fec405f2e536">toString</a> () const </td></tr>
<tr class="memdesc:a73d1e5346411c2adf520fec405f2e536"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the value as a string. <br /></td></tr>
<tr class="separator:a73d1e5346411c2adf520fec405f2e536"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e08d7b1108dad35dad40481b49c8fb9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e08d7b1108dad35dad40481b49c8fb9"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a1e08d7b1108dad35dad40481b49c8fb9">toString</a> (long n) const </td></tr>
<tr class="memdesc:a1e08d7b1108dad35dad40481b49c8fb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the <em>n</em>-th component of the value converted to a string. The behaviour of the method is undefined if there is no <em>n</em>-th component. <br /></td></tr>
<tr class="separator:a1e08d7b1108dad35dad40481b49c8fb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d25f4c4580ddee1d280d8fbb05a4638"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d25f4c4580ddee1d280d8fbb05a4638"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a9d25f4c4580ddee1d280d8fbb05a4638">toLong</a> (long n=0) const </td></tr>
<tr class="memdesc:a9d25f4c4580ddee1d280d8fbb05a4638"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the <em>n</em>-th component of the value converted to long. The return value is -1 if the value is not set and the behaviour of the method is undefined if there is no <em>n</em>-th component. <br /></td></tr>
<tr class="separator:a9d25f4c4580ddee1d280d8fbb05a4638"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5d6b1fbea425e67db4904c28b80cd59"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af5d6b1fbea425e67db4904c28b80cd59"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#af5d6b1fbea425e67db4904c28b80cd59">toFloat</a> (long n=0) const </td></tr>
<tr class="memdesc:af5d6b1fbea425e67db4904c28b80cd59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the <em>n</em>-th component of the value converted to float. The return value is -1 if the value is not set and the behaviour of the method is undefined if there is no <em>n</em>-th component. <br /></td></tr>
<tr class="separator:af5d6b1fbea425e67db4904c28b80cd59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a689c5419c35293f83e11bdd4fc3cefdf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a689c5419c35293f83e11bdd4fc3cefdf"></a>
<a class="el" href="namespaceExiv2.html#a95756f3f7fa19103f83addf5fa088a30">Rational</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a689c5419c35293f83e11bdd4fc3cefdf">toRational</a> (long n=0) const </td></tr>
<tr class="memdesc:a689c5419c35293f83e11bdd4fc3cefdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the <em>n</em>-th component of the value converted to Rational. The return value is -1/1 if the value is not set and the behaviour of the method is undefined if there is no <em>n</em>-th component. <br /></td></tr>
<tr class="separator:a689c5419c35293f83e11bdd4fc3cefdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69fee053db7f4e55295f7ff1c4d34566"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classExiv2_1_1Value.html#a0f62e585b82c97738858b743e60dff21">Value::AutoPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a69fee053db7f4e55295f7ff1c4d34566">getValue</a> () const </td></tr>
<tr class="memdesc:a69fee053db7f4e55295f7ff1c4d34566"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return an auto-pointer to a copy (clone) of the value. The caller owns this copy and the auto-poiner ensures that it will be deleted.  <a href="#a69fee053db7f4e55295f7ff1c4d34566">More...</a><br /></td></tr>
<tr class="separator:a69fee053db7f4e55295f7ff1c4d34566"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44d8261179011b2f68075d805e565866"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value</a> () const </td></tr>
<tr class="memdesc:a44d8261179011b2f68075d805e565866"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a constant reference to the value.  <a href="#a44d8261179011b2f68075d805e565866">More...</a><br /></td></tr>
<tr class="separator:a44d8261179011b2f68075d805e565866"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2095867822a76236cf00fc98105f7cd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac2095867822a76236cf00fc98105f7cd"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#ac2095867822a76236cf00fc98105f7cd">sizeDataArea</a> () const </td></tr>
<tr class="memdesc:ac2095867822a76236cf00fc98105f7cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size of the data area. <br /></td></tr>
<tr class="separator:ac2095867822a76236cf00fc98105f7cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57436744bd949d97e4ae4b9995e61152"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classExiv2_1_1DataBuf.html">DataBuf</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a57436744bd949d97e4ae4b9995e61152">dataArea</a> () const </td></tr>
<tr class="memdesc:a57436744bd949d97e4ae4b9995e61152"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a copy of the data area of the value. The caller owns this copy and DataBuf ensures that it will be deleted.  <a href="#a57436744bd949d97e4ae4b9995e61152">More...</a><br /></td></tr>
<tr class="separator:a57436744bd949d97e4ae4b9995e61152"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classExiv2_1_1Metadatum"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classExiv2_1_1Metadatum')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classExiv2_1_1Metadatum.html">Exiv2::Metadatum</a></td></tr>
<tr class="memitem:a1d7ef6f699dc1448ddf37c5e8938808a inherit pub_methods_classExiv2_1_1Metadatum"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d7ef6f699dc1448ddf37c5e8938808a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Metadatum.html#a1d7ef6f699dc1448ddf37c5e8938808a">Metadatum</a> ()</td></tr>
<tr class="memdesc:a1d7ef6f699dc1448ddf37c5e8938808a inherit pub_methods_classExiv2_1_1Metadatum"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor. <br /></td></tr>
<tr class="separator:a1d7ef6f699dc1448ddf37c5e8938808a inherit pub_methods_classExiv2_1_1Metadatum"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4b96033393a69d1382570f638d7243b inherit pub_methods_classExiv2_1_1Metadatum"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4b96033393a69d1382570f638d7243b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Metadatum.html#aa4b96033393a69d1382570f638d7243b">Metadatum</a> (const <a class="el" href="classExiv2_1_1Metadatum.html">Metadatum</a> &amp;rhs)</td></tr>
<tr class="memdesc:aa4b96033393a69d1382570f638d7243b inherit pub_methods_classExiv2_1_1Metadatum"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:aa4b96033393a69d1382570f638d7243b inherit pub_methods_classExiv2_1_1Metadatum"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a707ffcc6121daf24e5b191eb55181b35 inherit pub_methods_classExiv2_1_1Metadatum"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a707ffcc6121daf24e5b191eb55181b35"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Metadatum.html#a707ffcc6121daf24e5b191eb55181b35">~Metadatum</a> ()</td></tr>
<tr class="memdesc:a707ffcc6121daf24e5b191eb55181b35 inherit pub_methods_classExiv2_1_1Metadatum"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a707ffcc6121daf24e5b191eb55181b35 inherit pub_methods_classExiv2_1_1Metadatum"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a554fbe4c9641f72939fdfc3802220090 inherit pub_methods_classExiv2_1_1Metadatum"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Metadatum.html#a554fbe4c9641f72939fdfc3802220090">print</a> (const <a class="el" href="classExiv2_1_1ExifData.html">ExifData</a> *pMetadata=0) const </td></tr>
<tr class="memdesc:a554fbe4c9641f72939fdfc3802220090 inherit pub_methods_classExiv2_1_1Metadatum"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the interpreted value to a string.  <a href="#a554fbe4c9641f72939fdfc3802220090">More...</a><br /></td></tr>
<tr class="separator:a554fbe4c9641f72939fdfc3802220090 inherit pub_methods_classExiv2_1_1Metadatum"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a8e1c4b0d24e694e91ebc3f8517365bcd"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a8e1c4b0d24e694e91ebc3f8517365bcd"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Exifdatum.html#a8e1c4b0d24e694e91ebc3f8517365bcd">setValue</a> (<a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a> &amp;, const T &amp;)</td></tr>
<tr class="memdesc:a8e1c4b0d24e694e91ebc3f8517365bcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value of <em>exifDatum</em> to <em>value</em>. If the object already has a value, it is replaced. Otherwise a new <a class="el" href="classExiv2_1_1ValueType.html" title="Template for a Value of a basic type. This is used for unsigned and signed short, long and rationals...">ValueType</a>&lt;T&gt; value is created and set to <em>value</em>.  <a href="#a8e1c4b0d24e694e91ebc3f8517365bcd">More...</a><br /></td></tr>
<tr class="separator:a8e1c4b0d24e694e91ebc3f8517365bcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classExiv2_1_1Metadatum"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classExiv2_1_1Metadatum')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classExiv2_1_1Metadatum.html">Exiv2::Metadatum</a></td></tr>
<tr class="memitem:acb23718131525db38ad4d94f43c73792 inherit pro_methods_classExiv2_1_1Metadatum"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb23718131525db38ad4d94f43c73792"></a>
<a class="el" href="classExiv2_1_1Metadatum.html">Metadatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Metadatum.html#acb23718131525db38ad4d94f43c73792">operator=</a> (const <a class="el" href="classExiv2_1_1Metadatum.html">Metadatum</a> &amp;rhs)</td></tr>
<tr class="memdesc:acb23718131525db38ad4d94f43c73792 inherit pro_methods_classExiv2_1_1Metadatum"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. Protected so that it can only be used by subclasses but not directly. <br /></td></tr>
<tr class="separator:acb23718131525db38ad4d94f43c73792 inherit pro_methods_classExiv2_1_1Metadatum"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An Exif metadatum, consisting of an <a class="el" href="classExiv2_1_1ExifKey.html" title="Concrete keys for Exif metadata and access to Exif tag reference data. ">ExifKey</a> and a <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> and methods to manipulate these. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="addmoddel_8cpp-example.html#_a8">addmoddel.cpp</a>.</dd>
</dl></div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1cf84038e3ead29592469bd756144de7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Exiv2::Exifdatum::Exifdatum </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1ExifKey.html">ExifKey</a> &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1Value.html">Value</a> *&#160;</td>
          <td class="paramname"><em>pValue</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor for new tags created by an application. The Exifdatum is created from a <em>key</em> / value pair. Exifdatum copies (clones) the <em>key</em> and value if one is provided. Alternatively, a program can create an 'empty' Exifdatum with only a key and set the value using <a class="el" href="classExiv2_1_1Exifdatum.html#a8e1c4b0d24e694e91ebc3f8517365bcd" title="Set the value of exifDatum to value. If the object already has a value, it is replaced. Otherwise a new ValueType<T> value is created and set to value. ">setValue()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>ExifKey. </td></tr>
    <tr><td class="paramname">pValue</td><td>Pointer to an Exifdatum value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Error</td><td>if the key cannot be parsed and converted. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="classExiv2_1_1Value.html#a84db34d85bac0f5e159d67a1e10c7976">Exiv2::Value::clone()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a28391f10f14d66cabeb8042853e311cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long Exiv2::Exifdatum::copy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceExiv2.html#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceExiv2.html#a94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&#160;</td>
          <td class="paramname"><em>byteOrder</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write value to a data buffer and return the number of bytes written. </p>
<p>The user must ensure that the buffer has enough memory. Otherwise the call results in undefined behaviour.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buf</td><td>Data buffer to write to. </td></tr>
    <tr><td class="paramname">byteOrder</td><td>Applicable byte order (little or big endian). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of characters written. </dd></dl>

<p>Implements <a class="el" href="classExiv2_1_1Metadatum.html#a24bda0168b0655ccbbc8b870b583f1da">Exiv2::Metadatum</a>.</p>

</div>
</div>
<a class="anchor" id="a57436744bd949d97e4ae4b9995e61152"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classExiv2_1_1DataBuf.html">DataBuf</a> Exiv2::Exifdatum::dataArea </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return a copy of the data area of the value. The caller owns this copy and DataBuf ensures that it will be deleted. </p>
<p>Values may have a data area, which can contain additional information besides the actual value. This method is used to access such a data area.</p>
<dl class="section return"><dt>Returns</dt><dd>A DataBuf containing a copy of the data area or an empty DataBuf if the value does not have a data area assigned or the value is not set. </dd></dl>

</div>
</div>
<a class="anchor" id="a69fee053db7f4e55295f7ff1c4d34566"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classExiv2_1_1Value.html#a0f62e585b82c97738858b743e60dff21">Value::AutoPtr</a> Exiv2::Exifdatum::getValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return an auto-pointer to a copy (clone) of the value. The caller owns this copy and the auto-poiner ensures that it will be deleted. </p>
<p>This method is provided for users who need full control over the value. A caller may, e.g., downcast the pointer to the appropriate subclass of <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> to make use of the interface of the subclass to set or modify its contents.</p>
<dl class="section return"><dt>Returns</dt><dd>An auto-pointer containing a pointer to a copy (clone) of the value, 0 if the value is not set. </dd></dl>

<p>Implements <a class="el" href="classExiv2_1_1Metadatum.html#a1f3f53ab9df8c213ade42012a7e89ab3">Exiv2::Metadatum</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Internal_1_1TiffEncoder.html#a99c2f3243b36054e23ed4d0d0acb92f4">Exiv2::Internal::TiffEncoder::encodeOffsetEntry()</a>, and <a class="el" href="classExiv2_1_1Internal_1_1TiffEncoder.html#a4f7eb1a12c41743206eb186732b916db">Exiv2::Internal::TiffEncoder::encodeTiffEntryBase()</a>.</p>

</div>
</div>
<a class="anchor" id="aa229bf86f961689cf9051bc603a64c9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Exiv2::Exifdatum::setDataArea </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceExiv2.html#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the data area by copying (cloning) the buffer pointed to by <em>buf</em>. </p>
<p>Values may have a data area, which can contain additional information besides the actual value. This method is used to set such a data area.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buf</td><td>Pointer to the source data area </td></tr>
    <tr><td class="paramname">len</td><td>Size of the data area </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Return -1 if the Exifdatum does not have a value yet or the value has no data area, else 0. </dd></dl>

<p>Referenced by <a class="el" href="classExiv2_1_1ExifThumb.html#af8cf3725b3d9d6fa08055ea4809bf77f">Exiv2::ExifThumb::setJpegThumbnail()</a>.</p>

</div>
</div>
<a class="anchor" id="a44d8261179011b2f68075d805e565866"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp; Exiv2::Exifdatum::value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return a constant reference to the value. </p>
<p>This method is provided mostly for convenient and versatile output of the value which can (to some extent) be formatted through standard stream manipulators. Do not attempt to write to the value through this reference. An Error is thrown if the value is not set; as an alternative to catching it, one can use <a class="el" href="classExiv2_1_1Exifdatum.html#a72cd8dd5a63bd7a6e4ef73615479031f" title="Return the number of components in the value. ">count()</a> to check if there is any data before calling this method.</p>
<dl class="section return"><dt>Returns</dt><dd>A constant reference to the value. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Error</td><td>if the value is not set. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classExiv2_1_1Metadatum.html#a67ab8d2752f951b70a8188341df9c7e6">Exiv2::Metadatum</a>.</p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="addmoddel_8cpp-example.html#a12">addmoddel.cpp</a>.</dd>
</dl>
<p>Referenced by <a class="el" href="classExiv2_1_1Exifdatum.html#a2ba934f8a9fb3a93ae71e605bc85c921">write()</a>.</p>

</div>
</div>
<a class="anchor" id="a2ba934f8a9fb3a93ae71e605bc85c921"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream &amp; Exiv2::Exifdatum::write </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1ExifData.html">ExifData</a> *&#160;</td>
          <td class="paramname"><em>pMetadata</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write the interpreted value to an output stream, return the stream. </p>
<p>The method takes an optional pointer to a metadata container. Pretty-print functions may use that to refer to other metadata as it is sometimes not sufficient to know only the value of the metadatum that should be interpreted. Thus, it is advisable to always call this method with a pointer to the metadata container if possible.</p>
<p>This functionality is currently only implemented for Exif tags. The pointer is ignored when used to write IPTC datasets or XMP properties.</p>
<p>Without the optional metadata pointer, you do not usually have to use this function; it is used for the implementation of the output operator for Metadatum, <a class="el" href="namespaceExiv2.html#a8525be11fc92fcb2bd88e886daa1959a" title="Output operator for Metadatum types, writing the interpreted tag value. ">operator&lt;&lt;(std::ostream &amp;os, const Metadatum &amp;md)</a>.</p>
<p>See also <a class="el" href="classExiv2_1_1Metadatum.html#a554fbe4c9641f72939fdfc3802220090" title="Write the interpreted value to a string. ">print()</a>, which prints the interpreted value to a string. </p>

<p>Implements <a class="el" href="classExiv2_1_1Metadatum.html#a63c2b87249ba96679c29e01218169124">Exiv2::Metadatum</a>.</p>

<p>References <a class="el" href="classExiv2_1_1Exifdatum.html#a72cd8dd5a63bd7a6e4ef73615479031f">count()</a>, <a class="el" href="classExiv2_1_1Exifdatum.html#a53d8e735e5238e2120acc63b5c28361a">ifdId()</a>, <a class="el" href="structExiv2_1_1TagInfo.html#adfaabfd557743ec3129d2667f1edf3c8">Exiv2::TagInfo::printFct_</a>, <a class="el" href="namespaceExiv2_1_1Internal.html#ac72e915f3de1c90489744aaace1eddb7">Exiv2::Internal::printValue()</a>, <a class="el" href="classExiv2_1_1Exifdatum.html#ae75e9a656877bf62b3575e67da13df16">tag()</a>, <a class="el" href="namespaceExiv2_1_1Internal.html#a741128c1e42e2dd283160b20c43b215f">Exiv2::Internal::tagInfo()</a>, and <a class="el" href="classExiv2_1_1Exifdatum.html#a44d8261179011b2f68075d805e565866">value()</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a8e1c4b0d24e694e91ebc3f8517365bcd"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classExiv2_1_1Exifdatum.html">Exifdatum</a>&amp; setValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classExiv2_1_1Exifdatum.html">Exiv2::Exifdatum</a> &amp;&#160;</td>
          <td class="paramname"><em>exifDatum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the value of <em>exifDatum</em> to <em>value</em>. If the object already has a value, it is replaced. Otherwise a new <a class="el" href="classExiv2_1_1ValueType.html" title="Template for a Value of a basic type. This is used for unsigned and signed short, long and rationals...">ValueType</a>&lt;T&gt; value is created and set to <em>value</em>. </p>
<p>This is a helper function, called from <a class="el" href="classExiv2_1_1Exifdatum.html" title="An Exif metadatum, consisting of an ExifKey and a Value and methods to manipulate these...">Exifdatum</a> members. It is meant to be used with T = (u)int16_t, (u)int32_t or (U)Rational. Do not use directly. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="addmoddel_8cpp-example.html#a11">addmoddel.cpp</a>.</dd>
</dl>
<p>Referenced by <a class="el" href="classExiv2_1_1Converter.html#a01fa347250b39e24418e31203cee0a06">Exiv2::Converter::cnvXmpValue()</a>, and <a class="el" href="classExiv2_1_1Exifdatum.html#aa27c6cb13826a42651d1d2e42c73f3bd">operator=()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="exif_8hpp.html">exif.hpp</a></li>
<li>exif.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 4 2016 17:51:50 for Exiv2 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>