Sophie

Sophie

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

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::Xmpdatum 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_1Xmpdatum.html">Xmpdatum</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="classExiv2_1_1Xmpdatum-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Exiv2::Xmpdatum Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Information related to an XMP property. An XMP metadatum consists of an <a class="el" href="classExiv2_1_1XmpKey.html" title="Concrete keys for XMP metadata. ">XmpKey</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 provides methods to manipulate these.  
 <a href="classExiv2_1_1Xmpdatum.html#details">More...</a></p>

<p><code>#include &lt;xmp.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::Xmpdatum:</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_1Xmpdatum__inherit__graph.png" border="0" usemap="#Exiv2_1_1Xmpdatum_inherit__map" alt="Inheritance graph"/></div>
<map name="Exiv2_1_1Xmpdatum_inherit__map" id="Exiv2_1_1Xmpdatum_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::Xmpdatum:</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_1Xmpdatum__coll__graph.png" border="0" usemap="#Exiv2_1_1Xmpdatum_coll__map" alt="Collaboration graph"/></div>
<map name="Exiv2_1_1Xmpdatum_coll__map" id="Exiv2_1_1Xmpdatum_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="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structExiv2_1_1Xmpdatum_1_1Impl.html">Impl</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="namespaceExiv2_1_1Internal.html" title="Contains internal objects which are not published and are not part of the libexiv2 API...">Internal</a> Pimpl structure of class <a class="el" href="classExiv2_1_1Xmpdatum.html" title="Information related to an XMP property. An XMP metadatum consists of an XmpKey and a Value and provid...">Xmpdatum</a>.  <a href="structExiv2_1_1Xmpdatum_1_1Impl.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:abd992e7c9ed7233458ccf7be0b3e5d9c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#abd992e7c9ed7233458ccf7be0b3e5d9c">Xmpdatum</a> (const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</a> &amp;<a class="el" href="classExiv2_1_1Xmpdatum.html#a35c2e7412443f4ca59923d69541b5c48">key</a>, const <a class="el" href="classExiv2_1_1Value.html">Value</a> *pValue=0)</td></tr>
<tr class="memdesc:abd992e7c9ed7233458ccf7be0b3e5d9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for new tags created by an application. The Xmpdatum is created from a key / value pair. Xmpdatum copies (clones) the value if one is provided. Alternatively, a program can create an 'empty' Xmpdatum with only a key and set the value using <a class="el" href="classExiv2_1_1Xmpdatum.html#ae7647893d4f7a5577232ffe0c55efd47" title="Set the value. This method copies (clones) the value pointed to by pValue. ">setValue()</a>.  <a href="#abd992e7c9ed7233458ccf7be0b3e5d9c">More...</a><br /></td></tr>
<tr class="separator:abd992e7c9ed7233458ccf7be0b3e5d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab66bc7df5fd4cc769562fe30661c94db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab66bc7df5fd4cc769562fe30661c94db"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#ab66bc7df5fd4cc769562fe30661c94db">Xmpdatum</a> (const <a class="el" href="classExiv2_1_1Xmpdatum.html">Xmpdatum</a> &amp;rhs)</td></tr>
<tr class="memdesc:ab66bc7df5fd4cc769562fe30661c94db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:ab66bc7df5fd4cc769562fe30661c94db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee068210c7e92357bf4496bbbd73254d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee068210c7e92357bf4496bbbd73254d"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#aee068210c7e92357bf4496bbbd73254d">~Xmpdatum</a> ()</td></tr>
<tr class="memdesc:aee068210c7e92357bf4496bbbd73254d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:aee068210c7e92357bf4496bbbd73254d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr class="memitem:a534ca3b3750c9824960c53a53d2fd29c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a534ca3b3750c9824960c53a53d2fd29c"></a>
<a class="el" href="classExiv2_1_1Xmpdatum.html">Xmpdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a534ca3b3750c9824960c53a53d2fd29c">operator=</a> (const <a class="el" href="classExiv2_1_1Xmpdatum.html">Xmpdatum</a> &amp;rhs)</td></tr>
<tr class="memdesc:a534ca3b3750c9824960c53a53d2fd29c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <br /></td></tr>
<tr class="separator:a534ca3b3750c9824960c53a53d2fd29c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8f567325bc1c681cb80bbb53bc98bb7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8f567325bc1c681cb80bbb53bc98bb7"></a>
<a class="el" href="classExiv2_1_1Xmpdatum.html">Xmpdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#ab8f567325bc1c681cb80bbb53bc98bb7">operator=</a> (const std::string &amp;<a class="el" href="classExiv2_1_1Xmpdatum.html#a7eadf7ef0bd9be2436c4376196815dcc">value</a>)</td></tr>
<tr class="memdesc:ab8f567325bc1c681cb80bbb53bc98bb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign std::string <em>value</em> to the Xmpdatum. Calls <a class="el" href="classExiv2_1_1Xmpdatum.html#af8a422ab0e7e02f5526860e201e89e80" title="Set the value to the string value. Uses Value::read(const std::string&). If the Xmpdatum does not hav...">setValue(const std::string&amp;)</a>. <br /></td></tr>
<tr class="separator:ab8f567325bc1c681cb80bbb53bc98bb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2651103ef9d64a7172b59307a4d2a7c0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2651103ef9d64a7172b59307a4d2a7c0"></a>
<a class="el" href="classExiv2_1_1Xmpdatum.html">Xmpdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a2651103ef9d64a7172b59307a4d2a7c0">operator=</a> (const char *<a class="el" href="classExiv2_1_1Xmpdatum.html#a7eadf7ef0bd9be2436c4376196815dcc">value</a>)</td></tr>
<tr class="memdesc:a2651103ef9d64a7172b59307a4d2a7c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign const char* <em>value</em> to the Xmpdatum. Calls <a class="el" href="classExiv2_1_1Xmpdatum.html#ab8f567325bc1c681cb80bbb53bc98bb7" title="Assign std::string value to the Xmpdatum. Calls setValue(const std::string&). ">operator=(const std::string&amp;)</a>. <br /></td></tr>
<tr class="separator:a2651103ef9d64a7172b59307a4d2a7c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ff7d6540c3e857222b1a8d3c8abd31c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ff7d6540c3e857222b1a8d3c8abd31c"></a>
<a class="el" href="classExiv2_1_1Xmpdatum.html">Xmpdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a7ff7d6540c3e857222b1a8d3c8abd31c">operator=</a> (const bool &amp;<a class="el" href="classExiv2_1_1Xmpdatum.html#a7eadf7ef0bd9be2436c4376196815dcc">value</a>)</td></tr>
<tr class="memdesc:a7ff7d6540c3e857222b1a8d3c8abd31c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a boolean <em>value</em> to the Xmpdatum. Translates the value to a string "true" or "false". <br /></td></tr>
<tr class="separator:a7ff7d6540c3e857222b1a8d3c8abd31c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60e6b17f5acaedf322533e3509c5e51b"><td class="memTemplParams" colspan="2"><a class="anchor" id="a60e6b17f5acaedf322533e3509c5e51b"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a60e6b17f5acaedf322533e3509c5e51b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classExiv2_1_1Xmpdatum.html">Xmpdatum</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a60e6b17f5acaedf322533e3509c5e51b">operator=</a> (const T &amp;<a class="el" href="classExiv2_1_1Xmpdatum.html#a7eadf7ef0bd9be2436c4376196815dcc">value</a>)</td></tr>
<tr class="memdesc:a60e6b17f5acaedf322533e3509c5e51b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a <em>value</em> of any type with an output operator to the Xmpdatum. Calls <a class="el" href="classExiv2_1_1Xmpdatum.html#ab8f567325bc1c681cb80bbb53bc98bb7" title="Assign std::string value to the Xmpdatum. Calls setValue(const std::string&). ">operator=(const std::string&amp;)</a>. <br /></td></tr>
<tr class="separator:a60e6b17f5acaedf322533e3509c5e51b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af08f7f56cedbf1f1db8f4bb3c99372ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af08f7f56cedbf1f1db8f4bb3c99372ae"></a>
<a class="el" href="classExiv2_1_1Xmpdatum.html">Xmpdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#af08f7f56cedbf1f1db8f4bb3c99372ae">operator=</a> (const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;<a class="el" href="classExiv2_1_1Xmpdatum.html#a7eadf7ef0bd9be2436c4376196815dcc">value</a>)</td></tr>
<tr class="memdesc:af08f7f56cedbf1f1db8f4bb3c99372ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> <em>value</em> to the Xmpdatum. Calls <a class="el" href="classExiv2_1_1Xmpdatum.html#ae7647893d4f7a5577232ffe0c55efd47" title="Set the value. This method copies (clones) the value pointed to by pValue. ">setValue(const Value*)</a>. <br /></td></tr>
<tr class="separator:af08f7f56cedbf1f1db8f4bb3c99372ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7647893d4f7a5577232ffe0c55efd47"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7647893d4f7a5577232ffe0c55efd47"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#ae7647893d4f7a5577232ffe0c55efd47">setValue</a> (const <a class="el" href="classExiv2_1_1Value.html">Value</a> *pValue)</td></tr>
<tr class="memdesc:ae7647893d4f7a5577232ffe0c55efd47"><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:ae7647893d4f7a5577232ffe0c55efd47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8a422ab0e7e02f5526860e201e89e80"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8a422ab0e7e02f5526860e201e89e80"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#af8a422ab0e7e02f5526860e201e89e80">setValue</a> (const std::string &amp;<a class="el" href="classExiv2_1_1Xmpdatum.html#a7eadf7ef0bd9be2436c4376196815dcc">value</a>)</td></tr>
<tr class="memdesc:af8a422ab0e7e02f5526860e201e89e80"><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 Xmpdatum 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 Xmpdatum is created. If the key is unknown, a <a class="el" href="classExiv2_1_1XmpTextValue.html" title="Value type suitable for simple XMP properties and XMP nodes of complex types which are not parsed int...">XmpTextValue</a> is used as default. Return 0 if the value was read successfully. <br /></td></tr>
<tr class="separator:af8a422ab0e7e02f5526860e201e89e80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr class="memitem:a2ba6162b1c5baac944b208f1401c9690"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ba6162b1c5baac944b208f1401c9690"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a2ba6162b1c5baac944b208f1401c9690">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:a2ba6162b1c5baac944b208f1401c9690"><td class="mdescLeft">&#160;</td><td class="mdescRight">Not implemented. Calling this method will raise an exception. <br /></td></tr>
<tr class="separator:a2ba6162b1c5baac944b208f1401c9690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ba9818ed2cb6ac4726eed20d8b590a0"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a5ba9818ed2cb6ac4726eed20d8b590a0">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:a5ba9818ed2cb6ac4726eed20d8b590a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the interpreted value to an output stream, return the stream.  <a href="#a5ba9818ed2cb6ac4726eed20d8b590a0">More...</a><br /></td></tr>
<tr class="separator:a5ba9818ed2cb6ac4726eed20d8b590a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35c2e7412443f4ca59923d69541b5c48"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35c2e7412443f4ca59923d69541b5c48"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a35c2e7412443f4ca59923d69541b5c48">key</a> () const </td></tr>
<tr class="memdesc:a35c2e7412443f4ca59923d69541b5c48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the key of the <a class="el" href="classExiv2_1_1Xmpdatum.html" title="Information related to an XMP property. An XMP metadatum consists of an XmpKey and a Value and provid...">Xmpdatum</a>. The key is of the form '<b>Xmp</b>.prefix.property'. Note however that the key is not necessarily unique, i.e., an <a class="el" href="classExiv2_1_1XmpData.html" title="A container for XMP data. This is a top-level class of the Exiv2 library. ">XmpData</a> object may contain multiple metadata with the same key. <br /></td></tr>
<tr class="separator:a35c2e7412443f4ca59923d69541b5c48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76bc1a21f77b753972f1e15469d31609"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76bc1a21f77b753972f1e15469d31609"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a76bc1a21f77b753972f1e15469d31609">familyName</a> () const </td></tr>
<tr class="memdesc:a76bc1a21f77b753972f1e15469d31609"><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:a76bc1a21f77b753972f1e15469d31609"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9aa101dff70329bf7decc9cdb4d48b80"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9aa101dff70329bf7decc9cdb4d48b80"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a9aa101dff70329bf7decc9cdb4d48b80">groupName</a> () const </td></tr>
<tr class="memdesc:a9aa101dff70329bf7decc9cdb4d48b80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the (preferred) schema namespace prefix. <br /></td></tr>
<tr class="separator:a9aa101dff70329bf7decc9cdb4d48b80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a931c5fb7a66e98ae2c8f79ac3e97d6f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a931c5fb7a66e98ae2c8f79ac3e97d6f8"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a931c5fb7a66e98ae2c8f79ac3e97d6f8">tagName</a> () const </td></tr>
<tr class="memdesc:a931c5fb7a66e98ae2c8f79ac3e97d6f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the property name. <br /></td></tr>
<tr class="separator:a931c5fb7a66e98ae2c8f79ac3e97d6f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eb73ab392c7365c9346b2856f1d5ee9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0eb73ab392c7365c9346b2856f1d5ee9"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a0eb73ab392c7365c9346b2856f1d5ee9">tagLabel</a> () const </td></tr>
<tr class="memdesc:a0eb73ab392c7365c9346b2856f1d5ee9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a label for the tag. <br /></td></tr>
<tr class="separator:a0eb73ab392c7365c9346b2856f1d5ee9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6aeb0d22c53ef6ead4268a9cb4326d23"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6aeb0d22c53ef6ead4268a9cb4326d23"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a6aeb0d22c53ef6ead4268a9cb4326d23">tag</a> () const </td></tr>
<tr class="memdesc:a6aeb0d22c53ef6ead4268a9cb4326d23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Properties don't have a tag number. Return 0. <br /></td></tr>
<tr class="separator:a6aeb0d22c53ef6ead4268a9cb4326d23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaae019e4292ba327aaa54fd1f029157b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaae019e4292ba327aaa54fd1f029157b"></a>
<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#aaae019e4292ba327aaa54fd1f029157b">typeId</a> () const </td></tr>
<tr class="memdesc:aaae019e4292ba327aaa54fd1f029157b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the type id of the value. <br /></td></tr>
<tr class="separator:aaae019e4292ba327aaa54fd1f029157b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab49d1fb15f9c14a86a29d1db4553f105"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab49d1fb15f9c14a86a29d1db4553f105"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#ab49d1fb15f9c14a86a29d1db4553f105">typeName</a> () const </td></tr>
<tr class="memdesc:ab49d1fb15f9c14a86a29d1db4553f105"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the type. <br /></td></tr>
<tr class="separator:ab49d1fb15f9c14a86a29d1db4553f105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a660bafc8f7cb0bb78098c032f16c88e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a660bafc8f7cb0bb78098c032f16c88e1"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a660bafc8f7cb0bb78098c032f16c88e1">typeSize</a> () const </td></tr>
<tr class="memdesc:a660bafc8f7cb0bb78098c032f16c88e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Exif typeSize doesn't make sense here. Return 0. <br /></td></tr>
<tr class="separator:a660bafc8f7cb0bb78098c032f16c88e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8986932860a664aa65d24538bb4c3458"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8986932860a664aa65d24538bb4c3458"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a8986932860a664aa65d24538bb4c3458">count</a> () const </td></tr>
<tr class="memdesc:a8986932860a664aa65d24538bb4c3458"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of components in the value. <br /></td></tr>
<tr class="separator:a8986932860a664aa65d24538bb4c3458"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7ec013772d33edbed3a979fb3a41055"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa7ec013772d33edbed3a979fb3a41055"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#aa7ec013772d33edbed3a979fb3a41055">size</a> () const </td></tr>
<tr class="memdesc:aa7ec013772d33edbed3a979fb3a41055"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size of the value in bytes. <br /></td></tr>
<tr class="separator:aa7ec013772d33edbed3a979fb3a41055"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bdc9723ebe7d9d4eee9cbc2a8a79c9e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bdc9723ebe7d9d4eee9cbc2a8a79c9e"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a6bdc9723ebe7d9d4eee9cbc2a8a79c9e">toString</a> () const </td></tr>
<tr class="memdesc:a6bdc9723ebe7d9d4eee9cbc2a8a79c9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the value as a string. <br /></td></tr>
<tr class="separator:a6bdc9723ebe7d9d4eee9cbc2a8a79c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9faa9d7df363f71a80987c1c8aa7733d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9faa9d7df363f71a80987c1c8aa7733d"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a9faa9d7df363f71a80987c1c8aa7733d">toString</a> (long n) const </td></tr>
<tr class="memdesc:a9faa9d7df363f71a80987c1c8aa7733d"><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:a9faa9d7df363f71a80987c1c8aa7733d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7045b67bc522474b8426b09319407f5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7045b67bc522474b8426b09319407f5"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#ae7045b67bc522474b8426b09319407f5">toLong</a> (long n=0) const </td></tr>
<tr class="memdesc:ae7045b67bc522474b8426b09319407f5"><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:ae7045b67bc522474b8426b09319407f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a370555c1183fc05401d6bbdafae53280"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a370555c1183fc05401d6bbdafae53280"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a370555c1183fc05401d6bbdafae53280">toFloat</a> (long n=0) const </td></tr>
<tr class="memdesc:a370555c1183fc05401d6bbdafae53280"><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:a370555c1183fc05401d6bbdafae53280"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f408695fcc5bdf498dbb661d9e0dd59"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f408695fcc5bdf498dbb661d9e0dd59"></a>
<a class="el" href="namespaceExiv2.html#a95756f3f7fa19103f83addf5fa088a30">Rational</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Xmpdatum.html#a4f408695fcc5bdf498dbb661d9e0dd59">toRational</a> (long n=0) const </td></tr>
<tr class="memdesc:a4f408695fcc5bdf498dbb661d9e0dd59"><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:a4f408695fcc5bdf498dbb661d9e0dd59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad18588a7058cabea035cad3568293ecb"><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_1Xmpdatum.html#ad18588a7058cabea035cad3568293ecb">getValue</a> () const </td></tr>
<tr class="memdesc:ad18588a7058cabea035cad3568293ecb"><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="#ad18588a7058cabea035cad3568293ecb">More...</a><br /></td></tr>
<tr class="separator:ad18588a7058cabea035cad3568293ecb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eadf7ef0bd9be2436c4376196815dcc"><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_1Xmpdatum.html#a7eadf7ef0bd9be2436c4376196815dcc">value</a> () const </td></tr>
<tr class="memdesc:a7eadf7ef0bd9be2436c4376196815dcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a constant reference to the value.  <a href="#a7eadf7ef0bd9be2436c4376196815dcc">More...</a><br /></td></tr>
<tr class="separator:a7eadf7ef0bd9be2436c4376196815dcc"><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="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>Information related to an XMP property. An XMP metadatum consists of an <a class="el" href="classExiv2_1_1XmpKey.html" title="Concrete keys for XMP metadata. ">XmpKey</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 provides methods to manipulate these. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abd992e7c9ed7233458ccf7be0b3e5d9c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Exiv2::Xmpdatum::Xmpdatum </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</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 Xmpdatum is created from a key / value pair. Xmpdatum copies (clones) the value if one is provided. Alternatively, a program can create an 'empty' Xmpdatum with only a key and set the value using <a class="el" href="classExiv2_1_1Xmpdatum.html#ae7647893d4f7a5577232ffe0c55efd47" title="Set the value. This method copies (clones) the value pointed to by pValue. ">setValue()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>The key of the Xmpdatum. </td></tr>
    <tr><td class="paramname">pValue</td><td>Pointer to a Xmpdatum 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 to a known schema namespace prefix and property name. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad18588a7058cabea035cad3568293ecb"></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::Xmpdatum::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>References <a class="el" href="structExiv2_1_1Xmpdatum_1_1Impl.html#acd5e115f5d13704f4b24997e3d75cd5f">Exiv2::Xmpdatum::Impl::value_</a>.</p>

</div>
</div>
<a class="anchor" id="a7eadf7ef0bd9be2436c4376196815dcc"></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::Xmpdatum::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_1Xmpdatum.html#a8986932860a664aa65d24538bb4c3458" 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>

<p>References <a class="el" href="structExiv2_1_1Xmpdatum_1_1Impl.html#acd5e115f5d13704f4b24997e3d75cd5f">Exiv2::Xmpdatum::Impl::value_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Xmpdatum.html#a5ba9818ed2cb6ac4726eed20d8b590a0">write()</a>.</p>

</div>
</div>
<a class="anchor" id="a5ba9818ed2cb6ac4726eed20d8b590a0"></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::Xmpdatum::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_1Xmpdatum.html#a35c2e7412443f4ca59923d69541b5c48">key()</a>, <a class="el" href="classExiv2_1_1XmpProperties.html#a406a3bada810fc6f720a2c3a989e09e4">Exiv2::XmpProperties::printProperty()</a>, and <a class="el" href="classExiv2_1_1Xmpdatum.html#a7eadf7ef0bd9be2436c4376196815dcc">value()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="xmp_8hpp.html">xmp.hpp</a></li>
<li>xmp.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 4 2016 17:51:51 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>