Sophie

Sophie

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

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: Action::Print 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="namespaceAction.html">Action</a>::<a class="el" href="classAction_1_1Print.html">Print</a>
  </div>
</div>
<div class="contents">
<h1>Action::Print Class Reference</h1><!-- doxytag: class="Action::Print" --><!-- doxytag: inherits="Action::Task" -->Print the Exif (or other metadata) of a file to stdout  
<a href="#_details">More...</a>
<p>
<code>#include &lt;actions.hpp&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Action::Print:</div>
<div class="dynsection">
<p><center><img src="classAction_1_1Print__inherit__graph.png" border="0" usemap="#Action_1_1Print__inherit__map" alt="Inheritance graph"></center>
<map name="Action_1_1Print__inherit__map">
<area shape="rect" id="node2" href="classAction_1_1Task.html" title="Abstract base class for all concrete actions." alt="" coords="11,5,152,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for Action::Print:</div>
<div class="dynsection">
<p><center><img src="classAction_1_1Print__coll__graph.png" border="0" usemap="#Action_1_1Print__coll__map" alt="Collaboration graph"></center>
<map name="Action_1_1Print__coll__map">
<area shape="rect" id="node2" href="classAction_1_1Task.html" title="Abstract base class for all concrete actions." alt="" coords="5,83,147,109"><area shape="rect" id="node4" title="STL class." alt="" coords="171,83,301,109"><area shape="rect" id="node6" 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="classAction_1_1Print-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="d95151e0d7da46f1a8360fc2f73358c8"></a><!-- doxytag: member="Action::Print::AutoPtr" ref="d95151e0d7da46f1a8360fc2f73358c8" args="" -->
typedef std::auto_ptr&lt; <a class="el" href="classAction_1_1Print.html">Print</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#d95151e0d7da46f1a8360fc2f73358c8">AutoPtr</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for an auto pointer. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e873445763f31d06125e1167360497d"></a><!-- doxytag: member="Action::Print::EasyAccessFct" ref="1e873445763f31d06125e1167360497d" args=")(const Exiv2::ExifData &amp;ed)" -->
typedef <br class="typebreak">
<a class="el" href="classExiv2_1_1ExifData.html#2b8ac7a474d6527c0f3f6a0a9cebef77">Exiv2::ExifData::const_iterator</a>(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#1e873445763f31d06125e1167360497d">EasyAccessFct</a> )(const <a class="el" href="classExiv2_1_1ExifData.html">Exiv2::ExifData</a> &amp;ed)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Type for an <a class="el" href="namespaceExiv2.html" title="Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2...">Exiv2</a> Easy access function. <br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#c5b21e74a2c628d498c3103a42cc8e21">run</a> (const std::string &amp;path)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Application interface to perform a task.  <a href="#c5b21e74a2c628d498c3103a42cc8e21"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97b8c0ce879e43ab1f540bfb15be5069"></a><!-- doxytag: member="Action::Print::clone" ref="97b8c0ce879e43ab1f540bfb15be5069" args="() const " -->
<a class="el" href="classAction_1_1Task.html#76329f48810f8e555b233d9f699faadd">AutoPtr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#97b8c0ce879e43ab1f540bfb15be5069">clone</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual copy construction. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="05cf9ae1ba5de0d592f1e4bfea4d5e40"></a><!-- doxytag: member="Action::Print::printComment" ref="05cf9ae1ba5de0d592f1e4bfea4d5e40" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#05cf9ae1ba5de0d592f1e4bfea4d5e40">printComment</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> the Jpeg comment. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9535c2bb898017531c7c85e6df5db96a"></a><!-- doxytag: member="Action::Print::printPreviewList" ref="9535c2bb898017531c7c85e6df5db96a" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#9535c2bb898017531c7c85e6df5db96a">printPreviewList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> list of available preview images. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e75e2afef18405123890fd58be3b90aa"></a><!-- doxytag: member="Action::Print::printSummary" ref="e75e2afef18405123890fd58be3b90aa" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#e75e2afef18405123890fd58be3b90aa">printSummary</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> Exif summary information. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8ff7b158d0af021b17484872378856db"></a><!-- doxytag: member="Action::Print::printList" ref="8ff7b158d0af021b17484872378856db" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#8ff7b158d0af021b17484872378856db">printList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> Exif, IPTC and XMP metadata in user defined format. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f8971f85f2af6e40a5c6e7a058a11a6"></a><!-- doxytag: member="Action::Print::printMetadatum" ref="8f8971f85f2af6e40a5c6e7a058a11a6" args="(const Exiv2::Metadatum &amp;md, const Exiv2::Image *pImage, bool const manyFiles)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#8f8971f85f2af6e40a5c6e7a058a11a6">printMetadatum</a> (const <a class="el" href="classExiv2_1_1Metadatum.html">Exiv2::Metadatum</a> &amp;md, const <a class="el" href="classExiv2_1_1Image.html">Exiv2::Image</a> *pImage, bool const manyFiles)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> a metadatum in a user defined format. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6a57a585884520b5d80285122863a21"></a><!-- doxytag: member="Action::Print::printLabel" ref="e6a57a585884520b5d80285122863a21" args="(const std::string &amp;label) const " -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#e6a57a585884520b5d80285122863a21">printLabel</a> (const std::string &amp;label) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> the label for a summary line. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#cd5af3af6b2d556b223cdf42ecd8095d">printTag</a> (const <a class="el" href="classExiv2_1_1ExifData.html">Exiv2::ExifData</a> &amp;exifData, const std::string &amp;key, const std::string &amp;label=&quot;&quot;) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> one summary line with a label (if provided) and requested data. A line break is printed only if a label is provided.  <a href="#cd5af3af6b2d556b223cdf42ecd8095d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#3c2c851b6cf37a2e4b3a626dbbd1abe6">printTag</a> (const <a class="el" href="classExiv2_1_1ExifData.html">Exiv2::ExifData</a> &amp;exifData, <a class="el" href="classAction_1_1Print.html#1e873445763f31d06125e1167360497d">EasyAccessFct</a> easyAccessFct, const std::string &amp;label) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> one summary line with a label (if provided) and requested data. A line break is printed only if a label is provided.  <a href="#3c2c851b6cf37a2e4b3a626dbbd1abe6"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Print the Exif (or other metadata) of a file to stdout <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="3c2c851b6cf37a2e4b3a626dbbd1abe6"></a><!-- doxytag: member="Action::Print::printTag" ref="3c2c851b6cf37a2e4b3a626dbbd1abe6" args="(const Exiv2::ExifData &amp;exifData, EasyAccessFct easyAccessFct, const std::string &amp;label) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Action::Print::printTag           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1ExifData.html">Exiv2::ExifData</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>exifData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classAction_1_1Print.html#1e873445763f31d06125e1167360497d">EasyAccessFct</a>&nbsp;</td>
          <td class="paramname"> <em>easyAccessFct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>label</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> one summary line with a label (if provided) and requested data. A line break is printed only if a label is provided. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 if a line was written, 0 if the information was not found. </dd></dl>

<p>References <a class="el" href="exif_8hpp_source.html#l00488">Exiv2::ExifData::end()</a>, and <a class="el" href="actions_8cpp_source.html#l00429">printLabel()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cd5af3af6b2d556b223cdf42ecd8095d"></a><!-- doxytag: member="Action::Print::printTag" ref="cd5af3af6b2d556b223cdf42ecd8095d" args="(const Exiv2::ExifData &amp;exifData, const std::string &amp;key, const std::string &amp;label=&quot;&quot;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Action::Print::printTag           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1ExifData.html">Exiv2::ExifData</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>exifData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>label</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout">Print</a> one summary line with a label (if provided) and requested data. A line break is printed only if a label is provided. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 if a line was written, 0 if the key was not found. </dd></dl>

<p>References <a class="el" href="exif_8hpp_source.html#l00488">Exiv2::ExifData::end()</a>, <a class="el" href="exif_8cpp_source.html#l00392">Exiv2::ExifData::findKey()</a>, and <a class="el" href="actions_8cpp_source.html#l00429">printLabel()</a>.</p>

<p>Referenced by <a class="el" href="actions_8cpp_source.html#l00247">printSummary()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c5b21e74a2c628d498c3103a42cc8e21"></a><!-- doxytag: member="Action::Print::run" ref="c5b21e74a2c628d498c3103a42cc8e21" args="(const std::string &amp;path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Action::Print::run           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>path</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Application interface to perform a task. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>Path of the file to process. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if successful. </dd></dl>

<p>Implements <a class="el" href="classAction_1_1Task.html#a10ce979cdedb8470d36413ec3a57bf2">Action::Task</a>.</p>

<p>References <a class="el" href="exiv2_8cpp_source.html#l00186">Params::instance()</a>, <a class="el" href="actions_8cpp_source.html#l00645">printComment()</a>, <a class="el" href="actions_8cpp_source.html#l00474">printList()</a>, <a class="el" href="actions_8cpp_source.html#l00662">printPreviewList()</a>, and <a class="el" href="actions_8cpp_source.html#l00247">printSummary()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="actions_8hpp.html">actions.hpp</a><li>actions.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jun 25 15:17:48 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>