Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 8b93c7974abbd359ec3a5ea81eee3220 > files > 664

exiv2-doc-0.24-5.2.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::Iptcdatum 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_1Iptcdatum.html">Iptcdatum</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classExiv2_1_1Iptcdatum-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Exiv2::Iptcdatum Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>An IPTC metadatum ("dataset"), consisting of an <a class="el" href="classExiv2_1_1IptcKey.html" title="Concrete keys for IPTC metadata. ">IptcKey</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_1Iptcdatum.html#details">More...</a></p>

<p><code>#include &lt;iptc.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::Iptcdatum:</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_1Iptcdatum__inherit__graph.png" border="0" usemap="#Exiv2_1_1Iptcdatum_inherit__map" alt="Inheritance graph"/></div>
<map name="Exiv2_1_1Iptcdatum_inherit__map" id="Exiv2_1_1Iptcdatum_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::Iptcdatum:</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_1Iptcdatum__coll__graph.png" border="0" usemap="#Exiv2_1_1Iptcdatum_coll__map" alt="Collaboration graph"/></div>
<map name="Exiv2_1_1Iptcdatum_coll__map" id="Exiv2_1_1Iptcdatum_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:ae6f0b4aaeffdb3f4666f23fdbb4b4f8d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#ae6f0b4aaeffdb3f4666f23fdbb4b4f8d">Iptcdatum</a> (const <a class="el" href="classExiv2_1_1IptcKey.html">IptcKey</a> &amp;<a class="el" href="classExiv2_1_1Iptcdatum.html#adb8183876183516239f842d405980b43">key</a>, const <a class="el" href="classExiv2_1_1Value.html">Value</a> *pValue=0)</td></tr>
<tr class="memdesc:ae6f0b4aaeffdb3f4666f23fdbb4b4f8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for new tags created by an application. The Iptcdatum is created from a key / value pair. Iptcdatum copies (clones) the value if one is provided. Alternatively, a program can create an 'empty' Iptcdatum with only a key and set the value using <a class="el" href="classExiv2_1_1Iptcdatum.html#ad8f2accfb610841d6cbea0ab7c27ef7c" title="Set the value. This method copies (clones) the value pointed to by pValue. ">setValue()</a>.  <a href="#ae6f0b4aaeffdb3f4666f23fdbb4b4f8d">More...</a><br /></td></tr>
<tr class="separator:ae6f0b4aaeffdb3f4666f23fdbb4b4f8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b4348e0e20b4c32e6eac8462596c2f7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b4348e0e20b4c32e6eac8462596c2f7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a9b4348e0e20b4c32e6eac8462596c2f7">Iptcdatum</a> (const <a class="el" href="classExiv2_1_1Iptcdatum.html">Iptcdatum</a> &amp;rhs)</td></tr>
<tr class="memdesc:a9b4348e0e20b4c32e6eac8462596c2f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a9b4348e0e20b4c32e6eac8462596c2f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37b56fdf8d3b27d9d6e3462c299a34f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37b56fdf8d3b27d9d6e3462c299a34f8"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a37b56fdf8d3b27d9d6e3462c299a34f8">~Iptcdatum</a> ()</td></tr>
<tr class="memdesc:a37b56fdf8d3b27d9d6e3462c299a34f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a37b56fdf8d3b27d9d6e3462c299a34f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr class="memitem:a884f0bbe277f0211ef2acd06bd397466"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a884f0bbe277f0211ef2acd06bd397466"></a>
<a class="el" href="classExiv2_1_1Iptcdatum.html">Iptcdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a884f0bbe277f0211ef2acd06bd397466">operator=</a> (const <a class="el" href="classExiv2_1_1Iptcdatum.html">Iptcdatum</a> &amp;rhs)</td></tr>
<tr class="memdesc:a884f0bbe277f0211ef2acd06bd397466"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <br /></td></tr>
<tr class="separator:a884f0bbe277f0211ef2acd06bd397466"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a548fd455cc034cc0a65c0a9eaa41011e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a548fd455cc034cc0a65c0a9eaa41011e"></a>
<a class="el" href="classExiv2_1_1Iptcdatum.html">Iptcdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a548fd455cc034cc0a65c0a9eaa41011e">operator=</a> (const uint16_t &amp;<a class="el" href="classExiv2_1_1Iptcdatum.html#a799184a3a000bda2432a0b7366c2dfb2">value</a>)</td></tr>
<tr class="memdesc:a548fd455cc034cc0a65c0a9eaa41011e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Iptcdatum. 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:a548fd455cc034cc0a65c0a9eaa41011e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab56a297ea27b7dd31be8cc282e4772f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab56a297ea27b7dd31be8cc282e4772f"></a>
<a class="el" href="classExiv2_1_1Iptcdatum.html">Iptcdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#aab56a297ea27b7dd31be8cc282e4772f">operator=</a> (const std::string &amp;<a class="el" href="classExiv2_1_1Iptcdatum.html#a799184a3a000bda2432a0b7366c2dfb2">value</a>)</td></tr>
<tr class="memdesc:aab56a297ea27b7dd31be8cc282e4772f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Iptcdatum. Calls <a class="el" href="classExiv2_1_1Iptcdatum.html#ae588d1dbbd038445e69015f66e277a66" title="Set the value to the string value, using Value::read(const std::string&). If the Iptcdatum does not h...">setValue(const std::string&amp;)</a>. <br /></td></tr>
<tr class="separator:aab56a297ea27b7dd31be8cc282e4772f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d5cd4a80e6379d78010f8b18e6811c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2d5cd4a80e6379d78010f8b18e6811c8"></a>
<a class="el" href="classExiv2_1_1Iptcdatum.html">Iptcdatum</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a2d5cd4a80e6379d78010f8b18e6811c8">operator=</a> (const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;<a class="el" href="classExiv2_1_1Iptcdatum.html#a799184a3a000bda2432a0b7366c2dfb2">value</a>)</td></tr>
<tr class="memdesc:a2d5cd4a80e6379d78010f8b18e6811c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign <em>value</em> to the Iptcdatum. Calls <a class="el" href="classExiv2_1_1Iptcdatum.html#ad8f2accfb610841d6cbea0ab7c27ef7c" title="Set the value. This method copies (clones) the value pointed to by pValue. ">setValue(const Value*)</a>. <br /></td></tr>
<tr class="separator:a2d5cd4a80e6379d78010f8b18e6811c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8f2accfb610841d6cbea0ab7c27ef7c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8f2accfb610841d6cbea0ab7c27ef7c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#ad8f2accfb610841d6cbea0ab7c27ef7c">setValue</a> (const <a class="el" href="classExiv2_1_1Value.html">Value</a> *pValue)</td></tr>
<tr class="memdesc:ad8f2accfb610841d6cbea0ab7c27ef7c"><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:ad8f2accfb610841d6cbea0ab7c27ef7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae588d1dbbd038445e69015f66e277a66"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae588d1dbbd038445e69015f66e277a66"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#ae588d1dbbd038445e69015f66e277a66">setValue</a> (const std::string &amp;<a class="el" href="classExiv2_1_1Iptcdatum.html#a799184a3a000bda2432a0b7366c2dfb2">value</a>)</td></tr>
<tr class="memdesc:ae588d1dbbd038445e69015f66e277a66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value to the string <em>value</em>, using <a class="el" href="classExiv2_1_1Value.html#a2864378d7572310aa5f4cf4127365862" title="Set the value from a string buffer. The format of the string corresponds to that of the write() metho...">Value::read(const std::string&amp;)</a>. If the Iptcdatum 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 Iptcdatum is created. If that fails (because of an unknown dataset), a <a class="el" href="classExiv2_1_1StringValue.html" title="Value for string type. ">StringValue</a> is created. Return 0 if the value was read successfully. <br /></td></tr>
<tr class="separator:ae588d1dbbd038445e69015f66e277a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr class="memitem:afef33191871750f8b1c760d46f553c51"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#afef33191871750f8b1c760d46f553c51">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:afef33191871750f8b1c760d46f553c51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write value to a data buffer and return the number of bytes written.  <a href="#afef33191871750f8b1c760d46f553c51">More...</a><br /></td></tr>
<tr class="separator:afef33191871750f8b1c760d46f553c51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a200b7d5d6f0e49e3c29d631f561c879f"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a200b7d5d6f0e49e3c29d631f561c879f">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:a200b7d5d6f0e49e3c29d631f561c879f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the interpreted value to an output stream, return the stream.  <a href="#a200b7d5d6f0e49e3c29d631f561c879f">More...</a><br /></td></tr>
<tr class="separator:a200b7d5d6f0e49e3c29d631f561c879f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb8183876183516239f842d405980b43"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb8183876183516239f842d405980b43"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#adb8183876183516239f842d405980b43">key</a> () const </td></tr>
<tr class="memdesc:adb8183876183516239f842d405980b43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the key of the <a class="el" href="classExiv2_1_1Iptcdatum.html" title="An IPTC metadatum (&quot;dataset&quot;), consisting of an IptcKey and a Value and methods to manipulate these...">Iptcdatum</a>. The key is of the form '<b>Iptc</b>.recordName.datasetName'. Note however that the key is not necessarily unique, i.e., an <a class="el" href="classExiv2_1_1IptcData.html" title="A container for IPTC data. This is a top-level class of the Exiv2 library. ">IptcData</a> object may contain multiple metadata with the same key. <br /></td></tr>
<tr class="separator:adb8183876183516239f842d405980b43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a596ec3daf2df643d2a625a525ebaedbe"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a596ec3daf2df643d2a625a525ebaedbe">recordName</a> () const </td></tr>
<tr class="memdesc:a596ec3daf2df643d2a625a525ebaedbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the record (deprecated)  <a href="#a596ec3daf2df643d2a625a525ebaedbe">More...</a><br /></td></tr>
<tr class="separator:a596ec3daf2df643d2a625a525ebaedbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0c9a888c38f17689e14b38baef0fe9b"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#ae0c9a888c38f17689e14b38baef0fe9b">record</a> () const </td></tr>
<tr class="memdesc:ae0c9a888c38f17689e14b38baef0fe9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the record id.  <a href="#ae0c9a888c38f17689e14b38baef0fe9b">More...</a><br /></td></tr>
<tr class="separator:ae0c9a888c38f17689e14b38baef0fe9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a97fdd3f2314224066b45f482304f47"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a97fdd3f2314224066b45f482304f47"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a7a97fdd3f2314224066b45f482304f47">familyName</a> () const </td></tr>
<tr class="memdesc:a7a97fdd3f2314224066b45f482304f47"><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:a7a97fdd3f2314224066b45f482304f47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b19ed1dc21284af2dca91497c515c72"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b19ed1dc21284af2dca91497c515c72"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a8b19ed1dc21284af2dca91497c515c72">groupName</a> () const </td></tr>
<tr class="memdesc:a8b19ed1dc21284af2dca91497c515c72"><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:a8b19ed1dc21284af2dca91497c515c72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e630890c95ee311a0774f5ba77da0cb"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a7e630890c95ee311a0774f5ba77da0cb">tagName</a> () const </td></tr>
<tr class="memdesc:a7e630890c95ee311a0774f5ba77da0cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the tag (aka dataset)  <a href="#a7e630890c95ee311a0774f5ba77da0cb">More...</a><br /></td></tr>
<tr class="separator:a7e630890c95ee311a0774f5ba77da0cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66ec20a5834c6d2eb5fade695badd316"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66ec20a5834c6d2eb5fade695badd316"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a66ec20a5834c6d2eb5fade695badd316">tagLabel</a> () const </td></tr>
<tr class="memdesc:a66ec20a5834c6d2eb5fade695badd316"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a label for the tag. <br /></td></tr>
<tr class="separator:a66ec20a5834c6d2eb5fade695badd316"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b3bc419980b4a9375a1c225e3851b89"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b3bc419980b4a9375a1c225e3851b89"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a2b3bc419980b4a9375a1c225e3851b89">tag</a> () const </td></tr>
<tr class="memdesc:a2b3bc419980b4a9375a1c225e3851b89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the tag (aka dataset) number. <br /></td></tr>
<tr class="separator:a2b3bc419980b4a9375a1c225e3851b89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72b0cc6aef6cc888f26f503558cd9420"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72b0cc6aef6cc888f26f503558cd9420"></a>
<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a72b0cc6aef6cc888f26f503558cd9420">typeId</a> () const </td></tr>
<tr class="memdesc:a72b0cc6aef6cc888f26f503558cd9420"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the type id of the value. <br /></td></tr>
<tr class="separator:a72b0cc6aef6cc888f26f503558cd9420"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f7b541b2ba8028139728178a4fd20ed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f7b541b2ba8028139728178a4fd20ed"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a3f7b541b2ba8028139728178a4fd20ed">typeName</a> () const </td></tr>
<tr class="memdesc:a3f7b541b2ba8028139728178a4fd20ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the type. <br /></td></tr>
<tr class="separator:a3f7b541b2ba8028139728178a4fd20ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c6dec212e90dc540bf9de1ae7d7c591"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c6dec212e90dc540bf9de1ae7d7c591"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a3c6dec212e90dc540bf9de1ae7d7c591">typeSize</a> () const </td></tr>
<tr class="memdesc:a3c6dec212e90dc540bf9de1ae7d7c591"><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:a3c6dec212e90dc540bf9de1ae7d7c591"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cfa3dec36e338ce8e33165549d2fa46"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9cfa3dec36e338ce8e33165549d2fa46"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a9cfa3dec36e338ce8e33165549d2fa46">count</a> () const </td></tr>
<tr class="memdesc:a9cfa3dec36e338ce8e33165549d2fa46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of components in the value. <br /></td></tr>
<tr class="separator:a9cfa3dec36e338ce8e33165549d2fa46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99c790bb20a41c4cac8ac033c4b7914f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99c790bb20a41c4cac8ac033c4b7914f"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a99c790bb20a41c4cac8ac033c4b7914f">size</a> () const </td></tr>
<tr class="memdesc:a99c790bb20a41c4cac8ac033c4b7914f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size of the value in bytes. <br /></td></tr>
<tr class="separator:a99c790bb20a41c4cac8ac033c4b7914f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a5aceca1fe5f2898bdf802ed32e07af"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a5aceca1fe5f2898bdf802ed32e07af"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a7a5aceca1fe5f2898bdf802ed32e07af">toString</a> () const </td></tr>
<tr class="memdesc:a7a5aceca1fe5f2898bdf802ed32e07af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the value as a string. <br /></td></tr>
<tr class="separator:a7a5aceca1fe5f2898bdf802ed32e07af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f8525c6fbd53c2746178970e9806bd0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f8525c6fbd53c2746178970e9806bd0"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a4f8525c6fbd53c2746178970e9806bd0">toString</a> (long n) const </td></tr>
<tr class="memdesc:a4f8525c6fbd53c2746178970e9806bd0"><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:a4f8525c6fbd53c2746178970e9806bd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51d4cb0a76fd01df683f3e7131ff8330"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a51d4cb0a76fd01df683f3e7131ff8330"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a51d4cb0a76fd01df683f3e7131ff8330">toLong</a> (long n=0) const </td></tr>
<tr class="memdesc:a51d4cb0a76fd01df683f3e7131ff8330"><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:a51d4cb0a76fd01df683f3e7131ff8330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94dad5f2dec67835f259c6438620a7dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94dad5f2dec67835f259c6438620a7dc"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a94dad5f2dec67835f259c6438620a7dc">toFloat</a> (long n=0) const </td></tr>
<tr class="memdesc:a94dad5f2dec67835f259c6438620a7dc"><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:a94dad5f2dec67835f259c6438620a7dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a176df79dece844e2d71980693b937af3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a176df79dece844e2d71980693b937af3"></a>
<a class="el" href="namespaceExiv2.html#a95756f3f7fa19103f83addf5fa088a30">Rational</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Iptcdatum.html#a176df79dece844e2d71980693b937af3">toRational</a> (long n=0) const </td></tr>
<tr class="memdesc:a176df79dece844e2d71980693b937af3"><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:a176df79dece844e2d71980693b937af3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adde9e41e4fda8d1cd9e5947e44cbf40a"><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_1Iptcdatum.html#adde9e41e4fda8d1cd9e5947e44cbf40a">getValue</a> () const </td></tr>
<tr class="memdesc:adde9e41e4fda8d1cd9e5947e44cbf40a"><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="#adde9e41e4fda8d1cd9e5947e44cbf40a">More...</a><br /></td></tr>
<tr class="separator:adde9e41e4fda8d1cd9e5947e44cbf40a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a799184a3a000bda2432a0b7366c2dfb2"><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_1Iptcdatum.html#a799184a3a000bda2432a0b7366c2dfb2">value</a> () const </td></tr>
<tr class="memdesc:a799184a3a000bda2432a0b7366c2dfb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a constant reference to the value.  <a href="#a799184a3a000bda2432a0b7366c2dfb2">More...</a><br /></td></tr>
<tr class="separator:a799184a3a000bda2432a0b7366c2dfb2"><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>An IPTC metadatum ("dataset"), consisting of an <a class="el" href="classExiv2_1_1IptcKey.html" title="Concrete keys for IPTC metadata. ">IptcKey</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>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae6f0b4aaeffdb3f4666f23fdbb4b4f8d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Exiv2::Iptcdatum::Iptcdatum </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1IptcKey.html">IptcKey</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 Iptcdatum is created from a key / value pair. Iptcdatum copies (clones) the value if one is provided. Alternatively, a program can create an 'empty' Iptcdatum with only a key and set the value using <a class="el" href="classExiv2_1_1Iptcdatum.html#ad8f2accfb610841d6cbea0ab7c27ef7c" 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 Iptcdatum. </td></tr>
    <tr><td class="paramname">pValue</td><td>Pointer to a Iptcdatum 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 tag number and record id. </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="afef33191871750f8b1c760d46f553c51"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long Exiv2::Iptcdatum::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="adde9e41e4fda8d1cd9e5947e44cbf40a"></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::Iptcdatum::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>

</div>
</div>
<a class="anchor" id="ae0c9a888c38f17689e14b38baef0fe9b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t Exiv2::Iptcdatum::record </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the record id. </p>
<dl class="section return"><dt>Returns</dt><dd>record id </dd></dl>

<p>Referenced by <a class="el" href="classExiv2_1_1IptcData.html#a2d843afb1f9c0978b8845c741148ed27">Exiv2::IptcData::add()</a>, <a class="el" href="namespaceExiv2.html#a17b52d6f278c7d098731d0a1d7aa4296">Exiv2::cmpIptcdataByRecord()</a>, and <a class="el" href="classExiv2_1_1Iptcdatum.html#ae588d1dbbd038445e69015f66e277a66">setValue()</a>.</p>

</div>
</div>
<a class="anchor" id="a596ec3daf2df643d2a625a525ebaedbe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Exiv2::Iptcdatum::recordName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the name of the record (deprecated) </p>
<dl class="section return"><dt>Returns</dt><dd>record name </dd></dl>

</div>
</div>
<a class="anchor" id="a7e630890c95ee311a0774f5ba77da0cb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string Exiv2::Iptcdatum::tagName </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 the name of the tag (aka dataset) </p>
<dl class="section return"><dt>Returns</dt><dd>tag name </dd></dl>

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

</div>
</div>
<a class="anchor" id="a799184a3a000bda2432a0b7366c2dfb2"></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::Iptcdatum::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_1Iptcdatum.html#a9cfa3dec36e338ce8e33165549d2fa46" 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>Referenced by <a class="el" href="classExiv2_1_1Iptcdatum.html#a200b7d5d6f0e49e3c29d631f561c879f">write()</a>.</p>

</div>
</div>
<a class="anchor" id="a200b7d5d6f0e49e3c29d631f561c879f"></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::Iptcdatum::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_1Iptcdatum.html#a799184a3a000bda2432a0b7366c2dfb2">value()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="iptc_8hpp.html">iptc.hpp</a></li>
<li>iptc.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 26 2017 16:50:14 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>