<!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::XmpArrayValue 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 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 List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </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_1XmpArrayValue.html">XmpArrayValue</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-attribs">Public Attributes</a> | <a href="classExiv2_1_1XmpArrayValue-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Exiv2::XmpArrayValue Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Value type for simple arrays. Each item in the array is a simple value, without qualifiers. The array may be an ordered (<em>seq</em>), unordered (<em>bag</em>) or alternative array (<em>alt</em>). The array items must not contain qualifiers. For language alternatives use <a class="el" href="classExiv2_1_1LangAltValue.html" title="Value type for XMP language alternative properties. ">LangAltValue</a>. <a href="classExiv2_1_1XmpArrayValue.html#details">More...</a></p> <p><code>#include <value.hpp></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::XmpArrayValue:</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_1XmpArrayValue__inherit__graph.png" border="0" usemap="#Exiv2_1_1XmpArrayValue_inherit__map" alt="Inheritance graph"/></div> <map name="Exiv2_1_1XmpArrayValue_inherit__map" id="Exiv2_1_1XmpArrayValue_inherit__map"> <area shape="rect" id="node2" href="classExiv2_1_1XmpValue.html" title="Base class for all Exiv2 values used to store XMP property values. " alt="" coords="31,80,203,107"/><area shape="rect" id="node3" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. " alt="" coords="45,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::XmpArrayValue:</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_1XmpArrayValue__coll__graph.png" border="0" usemap="#Exiv2_1_1XmpArrayValue_coll__map" alt="Collaboration graph"/></div> <map name="Exiv2_1_1XmpArrayValue_coll__map" id="Exiv2_1_1XmpArrayValue_coll__map"> <area shape="rect" id="node2" href="classExiv2_1_1XmpValue.html" title="Base class for all Exiv2 values used to store XMP property values. " alt="" coords="5,199,177,225"/><area shape="rect" id="node3" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. " alt="" coords="20,109,163,136"/><area shape="rect" id="node5" title="STL class. " alt="" coords="232,109,364,136"/><area shape="rect" id="node6" title="STL class. " alt="" coords="197,5,399,47"/><area shape="rect" id="node7" title="STL class. " alt="" coords="388,109,571,136"/></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-types"></a> Public Types</h2></td></tr> <tr class="memitem:a0780ad0c5878c196bc0a626f8c82b60f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0780ad0c5878c196bc0a626f8c82b60f"></a> typedef std::auto_ptr<br class="typebreak" /> < <a class="el" href="classExiv2_1_1XmpArrayValue.html">XmpArrayValue</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#a0780ad0c5878c196bc0a626f8c82b60f">AutoPtr</a></td></tr> <tr class="memdesc:a0780ad0c5878c196bc0a626f8c82b60f"><td class="mdescLeft"> </td><td class="mdescRight">Shortcut for a XmpArrayValue auto pointer. <br /></td></tr> <tr class="separator:a0780ad0c5878c196bc0a626f8c82b60f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a041168d33176d58939620810a6c0334c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a041168d33176d58939620810a6c0334c"></a> typedef std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#a041168d33176d58939620810a6c0334c">ValueType</a></td></tr> <tr class="memdesc:a041168d33176d58939620810a6c0334c"><td class="mdescLeft"> </td><td class="mdescRight">Type used to store XMP array elements. <br /></td></tr> <tr class="separator:a041168d33176d58939620810a6c0334c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_types_classExiv2_1_1XmpValue"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classExiv2_1_1XmpValue')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classExiv2_1_1XmpValue.html">Exiv2::XmpValue</a></td></tr> <tr class="memitem:adcef489707e5b72735cccb7bee57cf5c inherit pub_types_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adcef489707e5b72735cccb7bee57cf5c"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#adcef489707e5b72735cccb7bee57cf5c">XmpArrayType</a> { <b>xaNone</b>, <b>xaAlt</b>, <b>xaBag</b>, <b>xaSeq</b> }</td></tr> <tr class="memdesc:adcef489707e5b72735cccb7bee57cf5c"><td class="mdescLeft"> </td><td class="mdescRight">XMP array types. <br /></td></tr> <tr class="separator:adcef489707e5b72735cccb7bee57cf5c inherit pub_types_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a417c4392d9251b143df126fa9e9d1025 inherit pub_types_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a417c4392d9251b143df126fa9e9d1025"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#a417c4392d9251b143df126fa9e9d1025">XmpStruct</a> { <b>xsNone</b>, <b>xsStruct</b> }</td></tr> <tr class="memdesc:a417c4392d9251b143df126fa9e9d1025"><td class="mdescLeft"> </td><td class="mdescRight">XMP structure indicator. <br /></td></tr> <tr class="separator:a417c4392d9251b143df126fa9e9d1025 inherit pub_types_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0559bb270b4d2ebc0d784b807c3af44a inherit pub_types_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0559bb270b4d2ebc0d784b807c3af44a"></a> typedef std::auto_ptr< <a class="el" href="classExiv2_1_1XmpValue.html">XmpValue</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#a0559bb270b4d2ebc0d784b807c3af44a">AutoPtr</a></td></tr> <tr class="memdesc:a0559bb270b4d2ebc0d784b807c3af44a inherit pub_types_classExiv2_1_1XmpValue"><td class="mdescLeft"> </td><td class="mdescRight">Shortcut for a XmpValue auto pointer. <br /></td></tr> <tr class="separator:a0559bb270b4d2ebc0d784b807c3af44a inherit pub_types_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_types_classExiv2_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classExiv2_1_1Value')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classExiv2_1_1Value.html">Exiv2::Value</a></td></tr> <tr class="memitem:a0f62e585b82c97738858b743e60dff21 inherit pub_types_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f62e585b82c97738858b743e60dff21"></a> typedef std::auto_ptr< <a class="el" href="classExiv2_1_1Value.html">Value</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a0f62e585b82c97738858b743e60dff21">AutoPtr</a></td></tr> <tr class="memdesc:a0f62e585b82c97738858b743e60dff21 inherit pub_types_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Shortcut for a Value auto pointer. <br /></td></tr> <tr class="separator:a0f62e585b82c97738858b743e60dff21 inherit pub_types_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </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:a0cf60defd39cf0801569c8351e02f4a7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0cf60defd39cf0801569c8351e02f4a7"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#a0cf60defd39cf0801569c8351e02f4a7">XmpArrayValue</a> (<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a> <a class="el" href="classExiv2_1_1Value.html#a1a56299aad4e614c4f0225d97530c038">typeId</a>=<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450caa5e7700549d4b079db70605d945447af">xmpBag</a>)</td></tr> <tr class="memdesc:a0cf60defd39cf0801569c8351e02f4a7"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <em>typeId</em> can be one of xmpBag, xmpSeq or xmpAlt. <br /></td></tr> <tr class="separator:a0cf60defd39cf0801569c8351e02f4a7"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr> <tr class="memitem:a17608cac7377fffdc25cbf4fdb4e5eed"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#a17608cac7377fffdc25cbf4fdb4e5eed">read</a> (const std::string &buf)</td></tr> <tr class="memdesc:a17608cac7377fffdc25cbf4fdb4e5eed"><td class="mdescLeft"> </td><td class="mdescRight">Read a simple property value from <em>buf</em> and append it to the value. <a href="#a17608cac7377fffdc25cbf4fdb4e5eed">More...</a><br /></td></tr> <tr class="separator:a17608cac7377fffdc25cbf4fdb4e5eed"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr> <tr class="memitem:a86dc38eef1ce31e2ec8ee70789d1d016"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86dc38eef1ce31e2ec8ee70789d1d016"></a> <a class="el" href="classExiv2_1_1Value.html#a0f62e585b82c97738858b743e60dff21">AutoPtr</a> </td><td class="memItemRight" valign="bottom"><b>clone</b> () const </td></tr> <tr class="separator:a86dc38eef1ce31e2ec8ee70789d1d016"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a810f8ec93446cf673a50c1e88f2442e8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a810f8ec93446cf673a50c1e88f2442e8"></a> virtual long </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#a810f8ec93446cf673a50c1e88f2442e8">count</a> () const </td></tr> <tr class="memdesc:a810f8ec93446cf673a50c1e88f2442e8"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of components of the value. <br /></td></tr> <tr class="separator:a810f8ec93446cf673a50c1e88f2442e8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abe26b2f8bd8f956b290171afb5c993c0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe26b2f8bd8f956b290171afb5c993c0"></a> virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#abe26b2f8bd8f956b290171afb5c993c0">toString</a> (long n) const </td></tr> <tr class="memdesc:abe26b2f8bd8f956b290171afb5c993c0"><td class="mdescLeft"> </td><td class="mdescRight">Return the <em>n</em>-th component of the value as a string. The behaviour of this method may be undefined if there is no <em>n</em>-th component. <br /></td></tr> <tr class="separator:abe26b2f8bd8f956b290171afb5c993c0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a41a3387f5c5697df4033fefbef8b8b1e"><td class="memItemLeft" align="right" valign="top">virtual long </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#a41a3387f5c5697df4033fefbef8b8b1e">toLong</a> (long n=0) const </td></tr> <tr class="memdesc:a41a3387f5c5697df4033fefbef8b8b1e"><td class="mdescLeft"> </td><td class="mdescRight">Convert the <em>n</em>-th component of the value to a long. The behaviour of this method may be undefined if there is no <em>n</em>-th component. <a href="#a41a3387f5c5697df4033fefbef8b8b1e">More...</a><br /></td></tr> <tr class="separator:a41a3387f5c5697df4033fefbef8b8b1e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6ea92652ac312c5fecdb57217176ac3a"><td class="memItemLeft" align="right" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#a6ea92652ac312c5fecdb57217176ac3a">toFloat</a> (long n=0) const </td></tr> <tr class="memdesc:a6ea92652ac312c5fecdb57217176ac3a"><td class="mdescLeft"> </td><td class="mdescRight">Convert the <em>n</em>-th component of the value to a float. The behaviour of this method may be undefined if there is no <em>n</em>-th component. <a href="#a6ea92652ac312c5fecdb57217176ac3a">More...</a><br /></td></tr> <tr class="separator:a6ea92652ac312c5fecdb57217176ac3a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4f3c3a818f243b039694973a9c2a96c6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceExiv2.html#a95756f3f7fa19103f83addf5fa088a30">Rational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#a4f3c3a818f243b039694973a9c2a96c6">toRational</a> (long n=0) const </td></tr> <tr class="memdesc:a4f3c3a818f243b039694973a9c2a96c6"><td class="mdescLeft"> </td><td class="mdescRight">Convert the <em>n</em>-th component of the value to a Rational. The behaviour of this method may be undefined if there is no <em>n</em>-th component. <a href="#a4f3c3a818f243b039694973a9c2a96c6">More...</a><br /></td></tr> <tr class="separator:a4f3c3a818f243b039694973a9c2a96c6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adb23ca07fc6059398d9fabd24b1954fb"><td class="memItemLeft" align="right" valign="top">virtual std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#adb23ca07fc6059398d9fabd24b1954fb">write</a> (std::ostream &os) const </td></tr> <tr class="memdesc:adb23ca07fc6059398d9fabd24b1954fb"><td class="mdescLeft"> </td><td class="mdescRight">Write all elements of the value to <em>os</em>, separated by commas. <a href="#adb23ca07fc6059398d9fabd24b1954fb">More...</a><br /></td></tr> <tr class="separator:adb23ca07fc6059398d9fabd24b1954fb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classExiv2_1_1XmpValue"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classExiv2_1_1XmpValue')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classExiv2_1_1XmpValue.html">Exiv2::XmpValue</a></td></tr> <tr class="memitem:a04fe5c2370ba38a8068040f92a865fec inherit pub_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04fe5c2370ba38a8068040f92a865fec"></a>  </td><td class="memItemRight" valign="bottom"><b>XmpValue</b> (<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a> <a class="el" href="classExiv2_1_1Value.html#a1a56299aad4e614c4f0225d97530c038">typeId</a>)</td></tr> <tr class="separator:a04fe5c2370ba38a8068040f92a865fec inherit pub_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afa940e92a938b8350edf0b41912db2b7 inherit pub_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa940e92a938b8350edf0b41912db2b7"></a> <a class="el" href="classExiv2_1_1XmpValue.html#adcef489707e5b72735cccb7bee57cf5c">XmpArrayType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#afa940e92a938b8350edf0b41912db2b7">xmpArrayType</a> () const </td></tr> <tr class="memdesc:afa940e92a938b8350edf0b41912db2b7 inherit pub_methods_classExiv2_1_1XmpValue"><td class="mdescLeft"> </td><td class="mdescRight">Return XMP array type, indicates if an XMP value is an array. <br /></td></tr> <tr class="separator:afa940e92a938b8350edf0b41912db2b7 inherit pub_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a179ee99bb4cde4d8f91786de9625f13d inherit pub_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a179ee99bb4cde4d8f91786de9625f13d"></a> <a class="el" href="classExiv2_1_1XmpValue.html#a417c4392d9251b143df126fa9e9d1025">XmpStruct</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#a179ee99bb4cde4d8f91786de9625f13d">xmpStruct</a> () const </td></tr> <tr class="memdesc:a179ee99bb4cde4d8f91786de9625f13d inherit pub_methods_classExiv2_1_1XmpValue"><td class="mdescLeft"> </td><td class="mdescRight">Return XMP struct, indicates if an XMP value is a structure. <br /></td></tr> <tr class="separator:a179ee99bb4cde4d8f91786de9625f13d inherit pub_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3f81d8c587380f37df5b5740e09fdbac inherit pub_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f81d8c587380f37df5b5740e09fdbac"></a> virtual long </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#a3f81d8c587380f37df5b5740e09fdbac">size</a> () const </td></tr> <tr class="memdesc:a3f81d8c587380f37df5b5740e09fdbac inherit pub_methods_classExiv2_1_1XmpValue"><td class="mdescLeft"> </td><td class="mdescRight">Return the size of the value in bytes. <br /></td></tr> <tr class="separator:a3f81d8c587380f37df5b5740e09fdbac inherit pub_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1417a259ba1ae7f2285ca0131a7d3438 inherit pub_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top">virtual long </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#a1417a259ba1ae7f2285ca0131a7d3438">copy</a> (<a class="el" href="namespaceExiv2.html#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, <a class="el" href="namespaceExiv2.html#a94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder=invalidByteOrder) const </td></tr> <tr class="memdesc:a1417a259ba1ae7f2285ca0131a7d3438 inherit pub_methods_classExiv2_1_1XmpValue"><td class="mdescLeft"> </td><td class="mdescRight">Write value to a character data buffer. <a href="#a1417a259ba1ae7f2285ca0131a7d3438">More...</a><br /></td></tr> <tr class="separator:a1417a259ba1ae7f2285ca0131a7d3438 inherit pub_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af9ca857d5c130ac36996d6a0519369df inherit pub_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9ca857d5c130ac36996d6a0519369df"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#af9ca857d5c130ac36996d6a0519369df">setXmpArrayType</a> (<a class="el" href="classExiv2_1_1XmpValue.html#adcef489707e5b72735cccb7bee57cf5c">XmpArrayType</a> <a class="el" href="classExiv2_1_1XmpValue.html#afa940e92a938b8350edf0b41912db2b7">xmpArrayType</a>)</td></tr> <tr class="memdesc:af9ca857d5c130ac36996d6a0519369df inherit pub_methods_classExiv2_1_1XmpValue"><td class="mdescLeft"> </td><td class="mdescRight">Set the XMP array type to indicate that an XMP value is an array. <br /></td></tr> <tr class="separator:af9ca857d5c130ac36996d6a0519369df inherit pub_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac3b98fc15a65051d546ff5d1f73487ed inherit pub_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3b98fc15a65051d546ff5d1f73487ed"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#ac3b98fc15a65051d546ff5d1f73487ed">setXmpStruct</a> (<a class="el" href="classExiv2_1_1XmpValue.html#a417c4392d9251b143df126fa9e9d1025">XmpStruct</a> <a class="el" href="classExiv2_1_1XmpValue.html#a179ee99bb4cde4d8f91786de9625f13d">xmpStruct</a>=xsStruct)</td></tr> <tr class="memdesc:ac3b98fc15a65051d546ff5d1f73487ed inherit pub_methods_classExiv2_1_1XmpValue"><td class="mdescLeft"> </td><td class="mdescRight">Set the XMP struct type to indicate that an XMP value is a structure. <br /></td></tr> <tr class="separator:ac3b98fc15a65051d546ff5d1f73487ed inherit pub_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a411b3b510f1b9ca49f1784ea9535d185 inherit pub_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#a411b3b510f1b9ca49f1784ea9535d185">read</a> (const <a class="el" href="namespaceExiv2.html#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, long len, <a class="el" href="namespaceExiv2.html#a94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder=invalidByteOrder)</td></tr> <tr class="memdesc:a411b3b510f1b9ca49f1784ea9535d185 inherit pub_methods_classExiv2_1_1XmpValue"><td class="mdescLeft"> </td><td class="mdescRight">Read the value from a character buffer. <a href="#a411b3b510f1b9ca49f1784ea9535d185">More...</a><br /></td></tr> <tr class="separator:a411b3b510f1b9ca49f1784ea9535d185 inherit pub_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classExiv2_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classExiv2_1_1Value')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classExiv2_1_1Value.html">Exiv2::Value</a></td></tr> <tr class="memitem:ab475b1680c6fa36a092c4584f70a8027 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab475b1680c6fa36a092c4584f70a8027"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#ab475b1680c6fa36a092c4584f70a8027">Value</a> (<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a> <a class="el" href="classExiv2_1_1Value.html#a1a56299aad4e614c4f0225d97530c038">typeId</a>)</td></tr> <tr class="memdesc:ab475b1680c6fa36a092c4584f70a8027 inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Constructor, taking a type id to initialize the base class with. <br /></td></tr> <tr class="separator:ab475b1680c6fa36a092c4584f70a8027 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a22a8e3314aad989671aedeee1c7ef375 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22a8e3314aad989671aedeee1c7ef375"></a> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a22a8e3314aad989671aedeee1c7ef375">~Value</a> ()</td></tr> <tr class="memdesc:a22a8e3314aad989671aedeee1c7ef375 inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Virtual destructor. <br /></td></tr> <tr class="separator:a22a8e3314aad989671aedeee1c7ef375 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6e8f3c20bf5d09f34371660a6cf50af3 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a6e8f3c20bf5d09f34371660a6cf50af3">setDataArea</a> (const <a class="el" href="namespaceExiv2.html#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, long len)</td></tr> <tr class="memdesc:a6e8f3c20bf5d09f34371660a6cf50af3 inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Set the data area, if the value has one by copying (cloning) the buffer pointed to by buf. <a href="#a6e8f3c20bf5d09f34371660a6cf50af3">More...</a><br /></td></tr> <tr class="separator:a6e8f3c20bf5d09f34371660a6cf50af3 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1a56299aad4e614c4f0225d97530c038 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a56299aad4e614c4f0225d97530c038"></a> <a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a1a56299aad4e614c4f0225d97530c038">typeId</a> () const </td></tr> <tr class="memdesc:a1a56299aad4e614c4f0225d97530c038 inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Return the type identifier (Exif data format type). <br /></td></tr> <tr class="separator:a1a56299aad4e614c4f0225d97530c038 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a84db34d85bac0f5e159d67a1e10c7976 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a84db34d85bac0f5e159d67a1e10c7976"></a> <a class="el" href="classExiv2_1_1Value.html#a0f62e585b82c97738858b743e60dff21">AutoPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a84db34d85bac0f5e159d67a1e10c7976">clone</a> () const </td></tr> <tr class="memdesc:a84db34d85bac0f5e159d67a1e10c7976 inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Return an auto-pointer to a copy of itself (deep copy). The caller owns this copy and the auto-pointer ensures that it will be deleted. <br /></td></tr> <tr class="separator:a84db34d85bac0f5e159d67a1e10c7976 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b07106aa570a506f4211c7bfa605fb0 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b07106aa570a506f4211c7bfa605fb0"></a> std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a0b07106aa570a506f4211c7bfa605fb0">toString</a> () const </td></tr> <tr class="memdesc:a0b07106aa570a506f4211c7bfa605fb0 inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Return the value as a string. Implemented in terms of <a class="el" href="classExiv2_1_1Value.html#a2518f5ba09fc8c00785c57a119892c4c" title="Write the value to an output stream. You do not usually have to use this function; it is used for the...">write(std::ostream& os) const </a>of the concrete class. <br /></td></tr> <tr class="separator:a0b07106aa570a506f4211c7bfa605fb0 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0105d81baf07d531cc6de2d2bb4a7bea inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0105d81baf07d531cc6de2d2bb4a7bea"></a> virtual long </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a0105d81baf07d531cc6de2d2bb4a7bea">sizeDataArea</a> () const </td></tr> <tr class="memdesc:a0105d81baf07d531cc6de2d2bb4a7bea inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Return the size of the data area, 0 if there is none. <br /></td></tr> <tr class="separator:a0105d81baf07d531cc6de2d2bb4a7bea inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9d96b057ecc6e9f09e2c65b46a0688e0 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classExiv2_1_1DataBuf.html">DataBuf</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a9d96b057ecc6e9f09e2c65b46a0688e0">dataArea</a> () const </td></tr> <tr class="memdesc:a9d96b057ecc6e9f09e2c65b46a0688e0 inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Return a copy of the data area if the value has one. The caller owns this copy and <a class="el" href="classExiv2_1_1DataBuf.html" title="Utility class containing a character array. All it does is to take care of memory allocation and dele...">DataBuf</a> ensures that it will be deleted. <a href="#a9d96b057ecc6e9f09e2c65b46a0688e0">More...</a><br /></td></tr> <tr class="separator:a9d96b057ecc6e9f09e2c65b46a0688e0 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a161550b3ef31b3a14b1d75149ba9ba71 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a161550b3ef31b3a14b1d75149ba9ba71"></a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a161550b3ef31b3a14b1d75149ba9ba71">ok</a> () const </td></tr> <tr class="memdesc:a161550b3ef31b3a14b1d75149ba9ba71 inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Check the <em>ok</em> status indicator. After a to<Type> conversion, this indicator shows whether the conversion was successful. <br /></td></tr> <tr class="separator:a161550b3ef31b3a14b1d75149ba9ba71 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr class="memitem:a620cf5acd40bea72c7b3cdb3894fea6a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a620cf5acd40bea72c7b3cdb3894fea6a"></a> std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpArrayValue.html#a620cf5acd40bea72c7b3cdb3894fea6a">value_</a></td></tr> <tr class="memdesc:a620cf5acd40bea72c7b3cdb3894fea6a"><td class="mdescLeft"> </td><td class="mdescRight">Stores the string values. <br /></td></tr> <tr class="separator:a620cf5acd40bea72c7b3cdb3894fea6a"><td class="memSeparator" colspan="2"> </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 pub_static_methods_classExiv2_1_1XmpValue"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classExiv2_1_1XmpValue')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classExiv2_1_1XmpValue.html">Exiv2::XmpValue</a></td></tr> <tr class="memitem:a1388aadb7adca555160c9deb7961d666 inherit pub_static_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1388aadb7adca555160c9deb7961d666"></a> static <a class="el" href="classExiv2_1_1XmpValue.html#adcef489707e5b72735cccb7bee57cf5c">XmpArrayType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#a1388aadb7adca555160c9deb7961d666">xmpArrayType</a> (<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a> <a class="el" href="classExiv2_1_1Value.html#a1a56299aad4e614c4f0225d97530c038">typeId</a>)</td></tr> <tr class="memdesc:a1388aadb7adca555160c9deb7961d666 inherit pub_static_methods_classExiv2_1_1XmpValue"><td class="mdescLeft"> </td><td class="mdescRight">Return XMP array type for an array <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> TypeId, xaNone if <em>typeId</em> is not an XMP array value type. <br /></td></tr> <tr class="separator:a1388aadb7adca555160c9deb7961d666 inherit pub_static_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classExiv2_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classExiv2_1_1Value')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classExiv2_1_1Value.html">Exiv2::Value</a></td></tr> <tr class="memitem:a7a6c027316e3dec0f7e79430f104c137 inherit pub_static_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classExiv2_1_1Value.html#a0f62e585b82c97738858b743e60dff21">AutoPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a7a6c027316e3dec0f7e79430f104c137">create</a> (<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a> <a class="el" href="classExiv2_1_1Value.html#a1a56299aad4e614c4f0225d97530c038">typeId</a>)</td></tr> <tr class="memdesc:a7a6c027316e3dec0f7e79430f104c137 inherit pub_static_methods_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">A (simple) factory to create a <a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. ">Value</a> type. <a href="#a7a6c027316e3dec0f7e79430f104c137">More...</a><br /></td></tr> <tr class="separator:a7a6c027316e3dec0f7e79430f104c137 inherit pub_static_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classExiv2_1_1XmpValue"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classExiv2_1_1XmpValue')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classExiv2_1_1XmpValue.html">Exiv2::XmpValue</a></td></tr> <tr class="memitem:a097a9c5135a011827dde5faa0fdeaf80 inherit pro_methods_classExiv2_1_1XmpValue"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a097a9c5135a011827dde5faa0fdeaf80"></a> <a class="el" href="classExiv2_1_1XmpValue.html">XmpValue</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpValue.html#a097a9c5135a011827dde5faa0fdeaf80">operator=</a> (const <a class="el" href="classExiv2_1_1XmpValue.html">XmpValue</a> &rhs)</td></tr> <tr class="memdesc:a097a9c5135a011827dde5faa0fdeaf80 inherit pro_methods_classExiv2_1_1XmpValue"><td class="mdescLeft"> </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:a097a9c5135a011827dde5faa0fdeaf80 inherit pro_methods_classExiv2_1_1XmpValue"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classExiv2_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classExiv2_1_1Value')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classExiv2_1_1Value.html">Exiv2::Value</a></td></tr> <tr class="memitem:aa2a9041cbd30d86260820b818cdf232e inherit pro_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2a9041cbd30d86260820b818cdf232e"></a> <a class="el" href="classExiv2_1_1Value.html">Value</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#aa2a9041cbd30d86260820b818cdf232e">operator=</a> (const <a class="el" href="classExiv2_1_1Value.html">Value</a> &rhs)</td></tr> <tr class="memdesc:aa2a9041cbd30d86260820b818cdf232e inherit pro_methods_classExiv2_1_1Value"><td class="mdescLeft"> </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:aa2a9041cbd30d86260820b818cdf232e inherit pro_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_classExiv2_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classExiv2_1_1Value')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classExiv2_1_1Value.html">Exiv2::Value</a></td></tr> <tr class="memitem:a4dc3a689b4bc1819290525cac491c1a8 inherit pro_attribs_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4dc3a689b4bc1819290525cac491c1a8"></a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a4dc3a689b4bc1819290525cac491c1a8">ok_</a></td></tr> <tr class="memdesc:a4dc3a689b4bc1819290525cac491c1a8 inherit pro_attribs_classExiv2_1_1Value"><td class="mdescLeft"> </td><td class="mdescRight">Indicates the status of the previous to<Type> conversion. <br /></td></tr> <tr class="separator:a4dc3a689b4bc1819290525cac491c1a8 inherit pro_attribs_classExiv2_1_1Value"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Value type for simple arrays. Each item in the array is a simple value, without qualifiers. The array may be an ordered (<em>seq</em>), unordered (<em>bag</em>) or alternative array (<em>alt</em>). The array items must not contain qualifiers. For language alternatives use <a class="el" href="classExiv2_1_1LangAltValue.html" title="Value type for XMP language alternative properties. ">LangAltValue</a>. </p> <p>Uses a vector of std::string to store the value(s). </p> </div><h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a17608cac7377fffdc25cbf4fdb4e5eed"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int Exiv2::XmpArrayValue::read </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>buf</em></td><td>)</td> <td></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>Read a simple property value from <em>buf</em> and append it to the value. </p> <p>Appends <em>buf</em> to the value after the last existing array element. Subsequent calls will therefore populate multiple array elements in the order they are read.</p> <dl class="section return"><dt>Returns</dt><dd>0 if successful. </dd></dl> <p>Implements <a class="el" href="classExiv2_1_1XmpValue.html#a7c357e0bee86bd3c6eee197711472821">Exiv2::XmpValue</a>.</p> <p>References <a class="el" href="classExiv2_1_1XmpArrayValue.html#a620cf5acd40bea72c7b3cdb3894fea6a">value_</a>.</p> </div> </div> <a class="anchor" id="a6ea92652ac312c5fecdb57217176ac3a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float Exiv2::XmpArrayValue::toFloat </td> <td>(</td> <td class="paramtype">long </td> <td class="paramname"><em>n</em> = <code>0</code></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>Convert the <em>n</em>-th component of the value to a float. The behaviour of this method may be undefined if there is no <em>n</em>-th component. </p> <dl class="section return"><dt>Returns</dt><dd>The converted value. </dd></dl> <p>Implements <a class="el" href="classExiv2_1_1Value.html#a22d257caa6c1ffe6416ce02de7bd8c1c">Exiv2::Value</a>.</p> <p>References <a class="el" href="classExiv2_1_1Value.html#a4dc3a689b4bc1819290525cac491c1a8">Exiv2::Value::ok_</a>, <a class="el" href="namespaceExiv2.html#a61c3bf069dab26d8a8b945de0b546b27">Exiv2::parseFloat()</a>, and <a class="el" href="classExiv2_1_1XmpArrayValue.html#a620cf5acd40bea72c7b3cdb3894fea6a">value_</a>.</p> </div> </div> <a class="anchor" id="a41a3387f5c5697df4033fefbef8b8b1e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">long Exiv2::XmpArrayValue::toLong </td> <td>(</td> <td class="paramtype">long </td> <td class="paramname"><em>n</em> = <code>0</code></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>Convert the <em>n</em>-th component of the value to a long. The behaviour of this method may be undefined if there is no <em>n</em>-th component. </p> <dl class="section return"><dt>Returns</dt><dd>The converted value. </dd></dl> <p>Implements <a class="el" href="classExiv2_1_1Value.html#a4530a3fc3e2305cf994de5476f46f953">Exiv2::Value</a>.</p> <p>References <a class="el" href="classExiv2_1_1Value.html#a4dc3a689b4bc1819290525cac491c1a8">Exiv2::Value::ok_</a>, <a class="el" href="namespaceExiv2.html#a1409855f9f68490e5d791b1bffc6a708">Exiv2::parseLong()</a>, and <a class="el" href="classExiv2_1_1XmpArrayValue.html#a620cf5acd40bea72c7b3cdb3894fea6a">value_</a>.</p> </div> </div> <a class="anchor" id="a4f3c3a818f243b039694973a9c2a96c6"></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="namespaceExiv2.html#a95756f3f7fa19103f83addf5fa088a30">Rational</a> Exiv2::XmpArrayValue::toRational </td> <td>(</td> <td class="paramtype">long </td> <td class="paramname"><em>n</em> = <code>0</code></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>Convert the <em>n</em>-th component of the value to a Rational. The behaviour of this method may be undefined if there is no <em>n</em>-th component. </p> <dl class="section return"><dt>Returns</dt><dd>The converted value. </dd></dl> <p>Implements <a class="el" href="classExiv2_1_1Value.html#a595a4cb549bec8c19d290ca3e95a2678">Exiv2::Value</a>.</p> <p>References <a class="el" href="classExiv2_1_1Value.html#a4dc3a689b4bc1819290525cac491c1a8">Exiv2::Value::ok_</a>, <a class="el" href="namespaceExiv2.html#ad0c754e9c64ad5daa1f0fc5a32b88e1f">Exiv2::parseRational()</a>, and <a class="el" href="classExiv2_1_1XmpArrayValue.html#a620cf5acd40bea72c7b3cdb3894fea6a">value_</a>.</p> </div> </div> <a class="anchor" id="adb23ca07fc6059398d9fabd24b1954fb"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">std::ostream & Exiv2::XmpArrayValue::write </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"><em>os</em></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 all elements of the value to <em>os</em>, separated by commas. </p> <dl class="section note"><dt>Note</dt><dd>The output of this method cannot directly be used as the parameter for <a class="el" href="classExiv2_1_1XmpArrayValue.html#a17608cac7377fffdc25cbf4fdb4e5eed" title="Read a simple property value from buf and append it to the value. ">read()</a>. </dd></dl> <p>Implements <a class="el" href="classExiv2_1_1Value.html#a2518f5ba09fc8c00785c57a119892c4c">Exiv2::Value</a>.</p> <p>References <a class="el" href="classExiv2_1_1XmpArrayValue.html#a620cf5acd40bea72c7b3cdb3894fea6a">value_</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="value_8hpp.html">value.hpp</a></li> <li>value.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  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.8 </small></address> </body> </html>