Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > b36c97ff723e66f0f38bce83645c99dc > files > 112

exiv2-doc-0.18.2-1mdv2010.0.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Exiv2: Exiv2::AsciiValue Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;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>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceExiv2.html">Exiv2</a>::<a class="el" href="classExiv2_1_1AsciiValue.html">AsciiValue</a>
  </div>
</div>
<div class="contents">
<h1>Exiv2::AsciiValue Class Reference</h1><!-- doxytag: class="Exiv2::AsciiValue" --><!-- doxytag: inherits="Exiv2::StringValueBase" -->Value for an Ascii string type.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;value.hpp&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Exiv2::AsciiValue:</div>
<div class="dynsection">
<p><center><img src="classExiv2_1_1AsciiValue__inherit__graph.png" border="0" usemap="#Exiv2_1_1AsciiValue__inherit__map" alt="Inheritance graph"></center>
<map name="Exiv2_1_1AsciiValue__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,245,107"><area shape="rect" id="node4" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata." alt="" coords="55,5,196,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for Exiv2::AsciiValue:</div>
<div class="dynsection">
<p><center><img src="classExiv2_1_1AsciiValue__coll__graph.png" border="0" usemap="#Exiv2_1_1AsciiValue__coll__map" alt="Collaboration graph"></center>
<map name="Exiv2_1_1AsciiValue__coll__map">
<area shape="rect" id="node2" href="classExiv2_1_1StringValueBase.html" title="Abstract base class for a string based Value type." alt="" coords="7,173,247,200"><area shape="rect" id="node4" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata." alt="" coords="5,83,147,109"><area shape="rect" id="node6" title="STL class." alt="" coords="171,83,301,109"><area shape="rect" id="node8" title="STL class." alt="" coords="111,5,361,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classExiv2_1_1AsciiValue-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8803e92f5f58283d8e30984c769cab15"></a><!-- doxytag: member="Exiv2::AsciiValue::AutoPtr" ref="8803e92f5f58283d8e30984c769cab15" args="" -->
typedef std::auto_ptr&lt; <a class="el" href="classExiv2_1_1AsciiValue.html">AsciiValue</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1AsciiValue.html#8803e92f5f58283d8e30984c769cab15">AutoPtr</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for a AsciiValue auto pointer. <br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="105b0e3b58bda8517aaf4deee1f67054"></a><!-- doxytag: member="Exiv2::AsciiValue::AsciiValue" ref="105b0e3b58bda8517aaf4deee1f67054" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1AsciiValue.html#105b0e3b58bda8517aaf4deee1f67054">AsciiValue</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="69ed02512af72c5d9a1082d6c9c16def"></a><!-- doxytag: member="Exiv2::AsciiValue::AsciiValue" ref="69ed02512af72c5d9a1082d6c9c16def" args="(const std::string &amp;buf)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1AsciiValue.html#69ed02512af72c5d9a1082d6c9c16def">AsciiValue</a> (const std::string &amp;buf)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="be6a24c17caff10e5855197e06431b32"></a><!-- doxytag: member="Exiv2::AsciiValue::~AsciiValue" ref="be6a24c17caff10e5855197e06431b32" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1AsciiValue.html#be6a24c17caff10e5855197e06431b32">~AsciiValue</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual destructor. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d66fb3775f82d536cb18423346f0781"></a><!-- doxytag: member="Exiv2::AsciiValue::read" ref="2d66fb3775f82d536cb18423346f0781" args="(const std::string &amp;buf)" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1AsciiValue.html#2d66fb3775f82d536cb18423346f0781">read</a> (const std::string &amp;buf)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the value to that of the string buf. Overrides base class to append a terminating '\0' character if buf doesn't end with '\0'. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d11fd8b7997473f0e434cb874d7913d"></a><!-- doxytag: member="Exiv2::AsciiValue::clone" ref="3d11fd8b7997473f0e434cb874d7913d" args="() const " -->
<a class="el" href="classExiv2_1_1Value.html#0f62e585b82c97738858b743e60dff21">AutoPtr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1AsciiValue.html#3d11fd8b7997473f0e434cb874d7913d">clone</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</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><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a027f04588f07a69adc72345479dfb47"></a><!-- doxytag: member="Exiv2::AsciiValue::write" ref="a027f04588f07a69adc72345479dfb47" args="(std::ostream &amp;os) const " -->
virtual std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1AsciiValue.html#a027f04588f07a69adc72345479dfb47">write</a> (std::ostream &amp;os) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write the value to an output stream. Any trailing '\0' characters of the ASCII value are stripped and not written to the output stream. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Value for an Ascii string type. 
<p>
This class is for null terminated single byte Ascii strings. This class also ensures that the string is null terminated. <hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="value_8hpp.html">value.hpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jun 25 15:18:09 2009 for Exiv2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>