Sophie

Sophie

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

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>Exiv2: Exiv2::CommentValue 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_1CommentValue.html">CommentValue</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classExiv2_1_1CommentValue-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Exiv2::CommentValue Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Value for an Exif comment.  
 <a href="classExiv2_1_1CommentValue.html#details">More...</a></p>

<p><code>#include &lt;value.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::CommentValue:</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_1CommentValue__inherit__graph.png" border="0" usemap="#Exiv2_1_1CommentValue_inherit__map" alt="Inheritance graph"/></div>
<map name="Exiv2_1_1CommentValue_inherit__map" id="Exiv2_1_1CommentValue_inherit__map">
<area shape="rect" id="node2" href="classExiv2_1_1StringValueBase.html" title="Abstract base class for a string based Value type. " alt="" coords="5,80,248,107"/><area shape="rect" id="node3" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. " alt="" coords="55,5,198,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::CommentValue:</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_1CommentValue__coll__graph.png" border="0" usemap="#Exiv2_1_1CommentValue_coll__map" alt="Collaboration graph"/></div>
<map name="Exiv2_1_1CommentValue_coll__map" id="Exiv2_1_1CommentValue_coll__map">
<area shape="rect" id="node2" href="classExiv2_1_1StringValueBase.html" title="Abstract base class for a string based Value type. " alt="" coords="6,185,249,212"/><area shape="rect" id="node3" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata. " alt="" coords="5,96,148,123"/><area shape="rect" id="node4" title="STL class. " alt="" coords="172,96,304,123"/><area shape="rect" id="node5" title="STL class. " alt="" coords="137,5,339,47"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue_1_1CharsetInfo.html">CharsetInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Charset information lookup functions. Implemented as a static class.  <a href="classExiv2_1_1CommentValue_1_1CharsetInfo.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structExiv2_1_1CommentValue_1_1CharsetTable.html">CharsetTable</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Information pertaining to the defined character sets.  <a href="structExiv2_1_1CommentValue_1_1CharsetTable.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ae18c0bebdb51d4380c32b20f89f8fdc2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae18c0bebdb51d4380c32b20f89f8fdc2"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#ae18c0bebdb51d4380c32b20f89f8fdc2">CharsetId</a> { <br />
&#160;&#160;<b>ascii</b>, 
<b>jis</b>, 
<b>unicode</b>, 
<b>undefined</b>, 
<br />
&#160;&#160;<b>invalidCharsetId</b>, 
<b>lastCharsetId</b>
<br />
 }</td></tr>
<tr class="memdesc:ae18c0bebdb51d4380c32b20f89f8fdc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Character set identifiers for the character sets defined by Exif. <br /></td></tr>
<tr class="separator:ae18c0bebdb51d4380c32b20f89f8fdc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada887f6b7f7554599f672e6ebc06fd8d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada887f6b7f7554599f672e6ebc06fd8d"></a>
typedef std::auto_ptr<br class="typebreak" />
&lt; <a class="el" href="classExiv2_1_1CommentValue.html">CommentValue</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#ada887f6b7f7554599f672e6ebc06fd8d">AutoPtr</a></td></tr>
<tr class="memdesc:ada887f6b7f7554599f672e6ebc06fd8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shortcut for a CommentValue auto pointer. <br /></td></tr>
<tr class="separator:ada887f6b7f7554599f672e6ebc06fd8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classExiv2_1_1StringValueBase"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classExiv2_1_1StringValueBase')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classExiv2_1_1StringValueBase.html">Exiv2::StringValueBase</a></td></tr>
<tr class="memitem:a690234b43e80adc70a6c7ee5106e5326 inherit pub_types_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a690234b43e80adc70a6c7ee5106e5326"></a>
typedef std::auto_ptr<br class="typebreak" />
&lt; <a class="el" href="classExiv2_1_1StringValueBase.html">StringValueBase</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#a690234b43e80adc70a6c7ee5106e5326">AutoPtr</a></td></tr>
<tr class="memdesc:a690234b43e80adc70a6c7ee5106e5326 inherit pub_types_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shortcut for a StringValueBase auto pointer. <br /></td></tr>
<tr class="separator:a690234b43e80adc70a6c7ee5106e5326 inherit pub_types_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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&lt; <a class="el" href="classExiv2_1_1Value.html">Value</a> &gt;&#160;</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">&#160;</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">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
<tr class="memitem:a78b03cf4b841577f41e10ae51962b710"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78b03cf4b841577f41e10ae51962b710"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#a78b03cf4b841577f41e10ae51962b710">CommentValue</a> ()</td></tr>
<tr class="memdesc:a78b03cf4b841577f41e10ae51962b710"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a78b03cf4b841577f41e10ae51962b710"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4305d98b7eef38ca055f4bc1a3ddb96e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4305d98b7eef38ca055f4bc1a3ddb96e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#a4305d98b7eef38ca055f4bc1a3ddb96e">CommentValue</a> (const std::string &amp;<a class="el" href="classExiv2_1_1CommentValue.html#ae8ccc714149ff42cc6e7993fc8177ed9">comment</a>)</td></tr>
<tr class="memdesc:a4305d98b7eef38ca055f4bc1a3ddb96e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor, uses <a class="el" href="classExiv2_1_1CommentValue.html#a0dc1a2489912d18b05ba25881ed172c3" title="Read the value from a comment. ">read(const std::string&amp; comment)</a> <br /></td></tr>
<tr class="separator:a4305d98b7eef38ca055f4bc1a3ddb96e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac592ffa49f00535cea595829ca1acaee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac592ffa49f00535cea595829ca1acaee"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#ac592ffa49f00535cea595829ca1acaee">~CommentValue</a> ()</td></tr>
<tr class="memdesc:ac592ffa49f00535cea595829ca1acaee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. <br /></td></tr>
<tr class="separator:ac592ffa49f00535cea595829ca1acaee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr class="memitem:a0dc1a2489912d18b05ba25881ed172c3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#a0dc1a2489912d18b05ba25881ed172c3">read</a> (const std::string &amp;<a class="el" href="classExiv2_1_1CommentValue.html#ae8ccc714149ff42cc6e7993fc8177ed9">comment</a>)</td></tr>
<tr class="memdesc:a0dc1a2489912d18b05ba25881ed172c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the value from a comment.  <a href="#a0dc1a2489912d18b05ba25881ed172c3">More...</a><br /></td></tr>
<tr class="separator:a0dc1a2489912d18b05ba25881ed172c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4210d47fa2e7e8a24d8ad89328996e3b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4210d47fa2e7e8a24d8ad89328996e3b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#a4210d47fa2e7e8a24d8ad89328996e3b">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)</td></tr>
<tr class="memdesc:a4210d47fa2e7e8a24d8ad89328996e3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the comment from a byte buffer. <br /></td></tr>
<tr class="separator:a4210d47fa2e7e8a24d8ad89328996e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr class="memitem:a00d56cf25c0e981f4fed3aa30619c383"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00d56cf25c0e981f4fed3aa30619c383"></a>
<a class="el" href="classExiv2_1_1Value.html#a0f62e585b82c97738858b743e60dff21">AutoPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><b>clone</b> () const </td></tr>
<tr class="separator:a00d56cf25c0e981f4fed3aa30619c383"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1318730b8a15f2f043b1d99390092181"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#a1318730b8a15f2f043b1d99390092181">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:a1318730b8a15f2f043b1d99390092181"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write value to a character data buffer.  <a href="#a1318730b8a15f2f043b1d99390092181">More...</a><br /></td></tr>
<tr class="separator:a1318730b8a15f2f043b1d99390092181"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a313468dff47849581ae4f654aa314816"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a313468dff47849581ae4f654aa314816"></a>
std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#a313468dff47849581ae4f654aa314816">write</a> (std::ostream &amp;os) const </td></tr>
<tr class="memdesc:a313468dff47849581ae4f654aa314816"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the comment in a format which can be read by <a class="el" href="classExiv2_1_1CommentValue.html#a0dc1a2489912d18b05ba25881ed172c3" title="Read the value from a comment. ">read(const std::string&amp; comment)</a>. <br /></td></tr>
<tr class="separator:a313468dff47849581ae4f654aa314816"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8ccc714149ff42cc6e7993fc8177ed9"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#ae8ccc714149ff42cc6e7993fc8177ed9">comment</a> (const char *encoding=0) const </td></tr>
<tr class="memdesc:ae8ccc714149ff42cc6e7993fc8177ed9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the comment (without a charset="..." prefix)  <a href="#ae8ccc714149ff42cc6e7993fc8177ed9">More...</a><br /></td></tr>
<tr class="separator:ae8ccc714149ff42cc6e7993fc8177ed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34da753521da501cc1015a7c1cc04eb3"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#a34da753521da501cc1015a7c1cc04eb3">detectCharset</a> (std::string &amp;c) const </td></tr>
<tr class="memdesc:a34da753521da501cc1015a7c1cc04eb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine the character encoding that was used to encode the UNICODE comment value as an iconv(3) name.  <a href="#a34da753521da501cc1015a7c1cc04eb3">More...</a><br /></td></tr>
<tr class="separator:a34da753521da501cc1015a7c1cc04eb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe98d1bbc93dd695e39cd4f719b54d18"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe98d1bbc93dd695e39cd4f719b54d18"></a>
<a class="el" href="classExiv2_1_1CommentValue.html#ae18c0bebdb51d4380c32b20f89f8fdc2">CharsetId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#afe98d1bbc93dd695e39cd4f719b54d18">charsetId</a> () const </td></tr>
<tr class="memdesc:afe98d1bbc93dd695e39cd4f719b54d18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Exif charset id of the comment. <br /></td></tr>
<tr class="separator:afe98d1bbc93dd695e39cd4f719b54d18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classExiv2_1_1StringValueBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classExiv2_1_1StringValueBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classExiv2_1_1StringValueBase.html">Exiv2::StringValueBase</a></td></tr>
<tr class="memitem:a5787c8e04b3cec1870b3abd95d15ea6b inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5787c8e04b3cec1870b3abd95d15ea6b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#a5787c8e04b3cec1870b3abd95d15ea6b">StringValueBase</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:a5787c8e04b3cec1870b3abd95d15ea6b inherit pub_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for subclasses. <br /></td></tr>
<tr class="separator:a5787c8e04b3cec1870b3abd95d15ea6b inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a837785dfc0f3561c939c2a9b4224ceb0 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a837785dfc0f3561c939c2a9b4224ceb0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#a837785dfc0f3561c939c2a9b4224ceb0">StringValueBase</a> (<a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c">TypeId</a> <a class="el" href="classExiv2_1_1Value.html#a1a56299aad4e614c4f0225d97530c038">typeId</a>, const std::string &amp;buf)</td></tr>
<tr class="memdesc:a837785dfc0f3561c939c2a9b4224ceb0 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for subclasses. <br /></td></tr>
<tr class="separator:a837785dfc0f3561c939c2a9b4224ceb0 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adba0f1f9e5ca8e2873d0b2815786f99e inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adba0f1f9e5ca8e2873d0b2815786f99e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#adba0f1f9e5ca8e2873d0b2815786f99e">StringValueBase</a> (const <a class="el" href="classExiv2_1_1StringValueBase.html">StringValueBase</a> &amp;rhs)</td></tr>
<tr class="memdesc:adba0f1f9e5ca8e2873d0b2815786f99e inherit pub_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:adba0f1f9e5ca8e2873d0b2815786f99e inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cb9d50601175eed2ee81a5d5395be02 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8cb9d50601175eed2ee81a5d5395be02"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#a8cb9d50601175eed2ee81a5d5395be02">~StringValueBase</a> ()</td></tr>
<tr class="memdesc:a8cb9d50601175eed2ee81a5d5395be02 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. <br /></td></tr>
<tr class="separator:a8cb9d50601175eed2ee81a5d5395be02 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa415b8fb5420125c8003870cb397f1b6 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa415b8fb5420125c8003870cb397f1b6"></a>
<a class="el" href="classExiv2_1_1Value.html#a0f62e585b82c97738858b743e60dff21">AutoPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><b>clone</b> () const </td></tr>
<tr class="separator:aa415b8fb5420125c8003870cb397f1b6 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2b4138c3457bf9194c629051514db42 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2b4138c3457bf9194c629051514db42"></a>
virtual long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#ad2b4138c3457bf9194c629051514db42">count</a> () const </td></tr>
<tr class="memdesc:ad2b4138c3457bf9194c629051514db42 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of components of the value. <br /></td></tr>
<tr class="separator:ad2b4138c3457bf9194c629051514db42 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a893d78447a12cc30f1a2e5da2b1c9e7e inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a893d78447a12cc30f1a2e5da2b1c9e7e"></a>
virtual long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#a893d78447a12cc30f1a2e5da2b1c9e7e">size</a> () const </td></tr>
<tr class="memdesc:a893d78447a12cc30f1a2e5da2b1c9e7e inherit pub_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size of the value in bytes. <br /></td></tr>
<tr class="separator:a893d78447a12cc30f1a2e5da2b1c9e7e inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb3bb38ee2d2d5e51539317c44b5492e inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top">virtual long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#adb3bb38ee2d2d5e51539317c44b5492e">toLong</a> (long n=0) const </td></tr>
<tr class="memdesc:adb3bb38ee2d2d5e51539317c44b5492e inherit pub_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</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="#adb3bb38ee2d2d5e51539317c44b5492e">More...</a><br /></td></tr>
<tr class="separator:adb3bb38ee2d2d5e51539317c44b5492e inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab414d7d6cfdf5bfa7b00884f6d7a20f5 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top">virtual float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#ab414d7d6cfdf5bfa7b00884f6d7a20f5">toFloat</a> (long n=0) const </td></tr>
<tr class="memdesc:ab414d7d6cfdf5bfa7b00884f6d7a20f5 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</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="#ab414d7d6cfdf5bfa7b00884f6d7a20f5">More...</a><br /></td></tr>
<tr class="separator:ab414d7d6cfdf5bfa7b00884f6d7a20f5 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3899565eca4f0a0b590d2fde6a2c2023 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceExiv2.html#a95756f3f7fa19103f83addf5fa088a30">Rational</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#a3899565eca4f0a0b590d2fde6a2c2023">toRational</a> (long n=0) const </td></tr>
<tr class="memdesc:a3899565eca4f0a0b590d2fde6a2c2023 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</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="#a3899565eca4f0a0b590d2fde6a2c2023">More...</a><br /></td></tr>
<tr class="separator:a3899565eca4f0a0b590d2fde6a2c2023 inherit pub_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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>
&#160;</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">&#160;</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">&#160;</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&#160;</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">&#160;</td><td class="mdescRight">Virtual destructor. <br /></td></tr>
<tr class="separator:a22a8e3314aad989671aedeee1c7ef375 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e8f3c20bf5d09f34371660a6cf50af3 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</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">&#160;</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">&#160;</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>&#160;</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">&#160;</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">&#160;</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>&#160;</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">&#160;</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">&#160;</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&#160;</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">&#160;</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&amp; 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">&#160;</td></tr>
<tr class="memitem:a856b1a10a7081540484ce62e8f75e389 inherit pub_methods_classExiv2_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a856b1a10a7081540484ce62e8f75e389"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Value.html#a856b1a10a7081540484ce62e8f75e389">toString</a> (long n) const </td></tr>
<tr class="memdesc:a856b1a10a7081540484ce62e8f75e389 inherit pub_methods_classExiv2_1_1Value"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the <em>n</em>-th component of the value as a string. The default implementation returns <a class="el" href="classExiv2_1_1Value.html#a0b07106aa570a506f4211c7bfa605fb0" title="Return the value as a string. Implemented in terms of write(std::ostream& os) const of the concrete c...">toString()</a>. The behaviour of this method may be undefined if there is no <em>n</em>-th component. <br /></td></tr>
<tr class="separator:a856b1a10a7081540484ce62e8f75e389 inherit pub_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2">&#160;</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&#160;</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">&#160;</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">&#160;</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>&#160;</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">&#160;</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">&#160;</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&#160;</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">&#160;</td><td class="mdescRight">Check the <em>ok</em> status indicator. After a to&lt;Type&gt; 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">&#160;</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:ab3199a8019d5799c21ff584112c113bc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab3199a8019d5799c21ff584112c113bc"></a>
<a class="el" href="namespaceExiv2.html#a94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1CommentValue.html#ab3199a8019d5799c21ff584112c113bc">byteOrder_</a></td></tr>
<tr class="memdesc:ab3199a8019d5799c21ff584112c113bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Byte order of the comment string that was read. <br /></td></tr>
<tr class="separator:ab3199a8019d5799c21ff584112c113bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classExiv2_1_1StringValueBase"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classExiv2_1_1StringValueBase')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classExiv2_1_1StringValueBase.html">Exiv2::StringValueBase</a></td></tr>
<tr class="memitem:a64379351d8550e054f871067e4fecfb2 inherit pub_attribs_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a64379351d8550e054f871067e4fecfb2"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#a64379351d8550e054f871067e4fecfb2">value_</a></td></tr>
<tr class="memdesc:a64379351d8550e054f871067e4fecfb2 inherit pub_attribs_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores the string value. <br /></td></tr>
<tr class="separator:a64379351d8550e054f871067e4fecfb2 inherit pub_attribs_classExiv2_1_1StringValueBase"><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 pub_static_methods_classExiv2_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classExiv2_1_1Value')"><img src="closed.png" alt="-"/>&#160;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>&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="inherit_header pro_methods_classExiv2_1_1StringValueBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classExiv2_1_1StringValueBase')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classExiv2_1_1StringValueBase.html">Exiv2::StringValueBase</a></td></tr>
<tr class="memitem:a63dbdd58d31e39e7803445931f18d701 inherit pro_methods_classExiv2_1_1StringValueBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63dbdd58d31e39e7803445931f18d701"></a>
<a class="el" href="classExiv2_1_1StringValueBase.html">StringValueBase</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1StringValueBase.html#a63dbdd58d31e39e7803445931f18d701">operator=</a> (const <a class="el" href="classExiv2_1_1StringValueBase.html">StringValueBase</a> &amp;rhs)</td></tr>
<tr class="memdesc:a63dbdd58d31e39e7803445931f18d701 inherit pro_methods_classExiv2_1_1StringValueBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <br /></td></tr>
<tr class="separator:a63dbdd58d31e39e7803445931f18d701 inherit pro_methods_classExiv2_1_1StringValueBase"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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> &amp;&#160;</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> &amp;rhs)</td></tr>
<tr class="memdesc:aa2a9041cbd30d86260820b818cdf232e inherit pro_methods_classExiv2_1_1Value"><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:aa2a9041cbd30d86260820b818cdf232e inherit pro_methods_classExiv2_1_1Value"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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&#160;</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">&#160;</td><td class="mdescRight">Indicates the status of the previous to&lt;Type&gt; conversion. <br /></td></tr>
<tr class="separator:a4dc3a689b4bc1819290525cac491c1a8 inherit pro_attribs_classExiv2_1_1Value"><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>Value for an Exif comment. </p>
<p>This can be a plain Ascii string or a multipe byte encoded string. The comment is expected to be encoded in the character set indicated (default undefined), but this is not checked. It is left to caller to decode and encode the string to and from readable text if that is required. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae8ccc714149ff42cc6e7993fc8177ed9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Exiv2::CommentValue::comment </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>encoding</em> = <code>0</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the comment (without a charset="..." prefix) </p>
<p>The comment is decoded to UTF-8. For Exif UNICODE comments, the function makes an attempt to correctly determine the character encoding of the value. Alternatively, the optional <em>encoding</em> parameter can be used to specify it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">encoding</td><td>Optional argument to specify the character encoding that the comment is encoded in, as an iconv(3) name. Only used for Exif UNICODE comments.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A string containing the comment converted to UTF-8. </dd></dl>

<p>References <a class="el" href="classExiv2_1_1CommentValue.html#afe98d1bbc93dd695e39cd4f719b54d18">charsetId()</a>, <a class="el" href="namespaceExiv2.html#aaa666fe01fbcfa969b3e2c648bcf9ae8">Exiv2::convertStringCharset()</a>, <a class="el" href="classExiv2_1_1CommentValue.html#a34da753521da501cc1015a7c1cc04eb3">detectCharset()</a>, <a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450ca2d79fb07c9ec891f281968dad43c1e25">Exiv2::string</a>, and <a class="el" href="classExiv2_1_1StringValueBase.html#a64379351d8550e054f871067e4fecfb2">Exiv2::StringValueBase::value_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Converter.html#a759b21bb838f846d904c6ce44cce23d6">Exiv2::Converter::cnvExifComment()</a>, <a class="el" href="namespaceExiv2_1_1Internal.html#a4c64eb723cca9db8a9623884eaa46fd1">Exiv2::Internal::print0x9286()</a>, <a class="el" href="classAction_1_1Print.html#ae2cd7252a98bc92ba6dbaa17c2955e8f">Action::Print::printMetadatum()</a>, <a class="el" href="classExiv2_1_1CommentValue.html#a0dc1a2489912d18b05ba25881ed172c3">read()</a>, <a class="el" href="classAction_1_1FixCom.html#a7830e2b278b1a356ccb6ccd82a8a7b2b">Action::FixCom::run()</a>, and <a class="el" href="classExiv2_1_1CommentValue.html#a313468dff47849581ae4f654aa314816">write()</a>.</p>

</div>
</div>
<a class="anchor" id="a1318730b8a15f2f043b1d99390092181"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long Exiv2::CommentValue::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 character data buffer. </p>
<p>The user must ensure that the buffer has enough memory. Otherwise the call results in undefined behaviour.</p>
<dl class="section note"><dt>Note</dt><dd>The byte order is required by the interface but not used by this method, so just use the default.</dd></dl>
<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>Byte order. Not used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of characters written. </dd></dl>

<p>Reimplemented from <a class="el" href="classExiv2_1_1StringValueBase.html#a68503471612daaf314f4b70e2216ef3b">Exiv2::StringValueBase</a>.</p>

<p>References <a class="el" href="classExiv2_1_1CommentValue.html#ab3199a8019d5799c21ff584112c113bc">byteOrder_</a>, <a class="el" href="classExiv2_1_1CommentValue.html#afe98d1bbc93dd695e39cd4f719b54d18">charsetId()</a>, <a class="el" href="namespaceExiv2.html#aaa666fe01fbcfa969b3e2c648bcf9ae8">Exiv2::convertStringCharset()</a>, <a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450ca2d79fb07c9ec891f281968dad43c1e25">Exiv2::string</a>, and <a class="el" href="classExiv2_1_1StringValueBase.html#a64379351d8550e054f871067e4fecfb2">Exiv2::StringValueBase::value_</a>.</p>

</div>
</div>
<a class="anchor" id="a34da753521da501cc1015a7c1cc04eb3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * Exiv2::CommentValue::detectCharset </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determine the character encoding that was used to encode the UNICODE comment value as an iconv(3) name. </p>
<p>If the comment <em>c</em> starts with a BOM, the BOM is interpreted and removed from the string.</p>
<p>Todo: Implement rules to guess if the comment is UTF-8 encoded. </p>

<p>References <a class="el" href="classExiv2_1_1CommentValue.html#ab3199a8019d5799c21ff584112c113bc">byteOrder_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1CommentValue.html#ae8ccc714149ff42cc6e7993fc8177ed9">comment()</a>.</p>

</div>
</div>
<a class="anchor" id="a0dc1a2489912d18b05ba25881ed172c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Exiv2::CommentValue::read </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>comment</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 the value from a comment. </p>
<p>The format of <em>comment</em> is: <br />
 <code>[charset=["]Ascii|Jis|Unicode|Undefined["] ]comment</code> <br />
 The default charset is Undefined.</p>
<dl class="section return"><dt>Returns</dt><dd>0 if successful<br />
 1 if an invalid character set is encountered </dd></dl>

<p>Reimplemented from <a class="el" href="classExiv2_1_1StringValueBase.html#a7e1a2e4e99a63eb1ef815317f012c57b">Exiv2::StringValueBase</a>.</p>

<p>References <a class="el" href="classExiv2_1_1CommentValue.html#ab3199a8019d5799c21ff584112c113bc">byteOrder_</a>, <a class="el" href="classExiv2_1_1CommentValue.html#afe98d1bbc93dd695e39cd4f719b54d18">charsetId()</a>, <a class="el" href="classExiv2_1_1CommentValue_1_1CharsetInfo.html#a11c99bba8c8529cb1d437497c69faa51">Exiv2::CommentValue::CharsetInfo::charsetIdByName()</a>, <a class="el" href="classExiv2_1_1CommentValue_1_1CharsetInfo.html#a035235c0f0e7b8deada2e8ef111b480e">Exiv2::CommentValue::CharsetInfo::code()</a>, <a class="el" href="classExiv2_1_1CommentValue.html#ae8ccc714149ff42cc6e7993fc8177ed9">comment()</a>, <a class="el" href="namespaceExiv2.html#aaa666fe01fbcfa969b3e2c648bcf9ae8">Exiv2::convertStringCharset()</a>, <a class="el" href="error_8hpp.html#a06ee301360765662f07d822ea005647e">EXV_WARNING</a>, <a class="el" href="classExiv2_1_1StringValueBase.html#a7e1a2e4e99a63eb1ef815317f012c57b">Exiv2::StringValueBase::read()</a>, and <a class="el" href="namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450ca2d79fb07c9ec891f281968dad43c1e25">Exiv2::string</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1CommentValue.html#a4305d98b7eef38ca055f4bc1a3ddb96e">CommentValue()</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:50 for Exiv2 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>