Sophie

Sophie

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

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::Erase 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_1Erase.html">Erase</a>
  </div>
</div>
<div class="contents">
<h1>Action::Erase Class Reference</h1><!-- doxytag: class="Action::Erase" --><!-- doxytag: inherits="Action::Task" -->Erase the entire exif data or only the thumbnail section.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;actions.hpp&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Action::Erase:</div>
<div class="dynsection">
<p><center><img src="classAction_1_1Erase__inherit__graph.png" border="0" usemap="#Action_1_1Erase__inherit__map" alt="Inheritance graph"></center>
<map name="Action_1_1Erase__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::Erase:</div>
<div class="dynsection">
<p><center><img src="classAction_1_1Erase__coll__graph.png" border="0" usemap="#Action_1_1Erase__coll__map" alt="Collaboration graph"></center>
<map name="Action_1_1Erase__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_1Erase-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="29380d4001e3ada7264a2d02ee261fd8"></a><!-- doxytag: member="Action::Erase::AutoPtr" ref="29380d4001e3ada7264a2d02ee261fd8" args="" -->
typedef std::auto_ptr&lt; <a class="el" href="classAction_1_1Erase.html">Erase</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Erase.html#29380d4001e3ada7264a2d02ee261fd8">AutoPtr</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for an auto pointer. <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_1Erase.html#958425244c6b3eba57d6d229b6eebf99">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="#958425244c6b3eba57d6d229b6eebf99"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7665575bd28ad583d15c071248528d26"></a><!-- doxytag: member="Action::Erase::clone" ref="7665575bd28ad583d15c071248528d26" 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_1Erase.html#7665575bd28ad583d15c071248528d26">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="ea43759f2a2ee86b40380834ba34d6fe"></a><!-- doxytag: member="Action::Erase::eraseThumbnail" ref="ea43759f2a2ee86b40380834ba34d6fe" args="(Exiv2::Image *image) const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Erase.html#ea43759f2a2ee86b40380834ba34d6fe">eraseThumbnail</a> (<a class="el" href="classExiv2_1_1Image.html">Exiv2::Image</a> *image) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delete the thumbnail image, incl IFD1 metadata from the file. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d696d6e91fd37e0c61587bdadac36a54"></a><!-- doxytag: member="Action::Erase::eraseExifData" ref="d696d6e91fd37e0c61587bdadac36a54" args="(Exiv2::Image *image) const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Erase.html#d696d6e91fd37e0c61587bdadac36a54">eraseExifData</a> (<a class="el" href="classExiv2_1_1Image.html">Exiv2::Image</a> *image) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Erase.html" title="Erase the entire exif data or only the thumbnail section.">Erase</a> the complete Exif data block from the file. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c2736fc319852955f44ae64ca84ec63"></a><!-- doxytag: member="Action::Erase::eraseIptcData" ref="7c2736fc319852955f44ae64ca84ec63" args="(Exiv2::Image *image) const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Erase.html#7c2736fc319852955f44ae64ca84ec63">eraseIptcData</a> (<a class="el" href="classExiv2_1_1Image.html">Exiv2::Image</a> *image) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Erase.html" title="Erase the entire exif data or only the thumbnail section.">Erase</a> all Iptc data from the file. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="440ff50afeea2475514ce743907004c1"></a><!-- doxytag: member="Action::Erase::eraseComment" ref="440ff50afeea2475514ce743907004c1" args="(Exiv2::Image *image) const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Erase.html#440ff50afeea2475514ce743907004c1">eraseComment</a> (<a class="el" href="classExiv2_1_1Image.html">Exiv2::Image</a> *image) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Erase.html" title="Erase the entire exif data or only the thumbnail section.">Erase</a> Jpeg comment from the file. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b83281ed24381883a4a1271205308bd9"></a><!-- doxytag: member="Action::Erase::eraseXmpData" ref="b83281ed24381883a4a1271205308bd9" args="(Exiv2::Image *image) const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Erase.html#b83281ed24381883a4a1271205308bd9">eraseXmpData</a> (<a class="el" href="classExiv2_1_1Image.html">Exiv2::Image</a> *image) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Erase.html" title="Erase the entire exif data or only the thumbnail section.">Erase</a> XMP packet from the file. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Erase the entire exif data or only the thumbnail section. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="958425244c6b3eba57d6d229b6eebf99"></a><!-- doxytag: member="Action::Erase::run" ref="958425244c6b3eba57d6d229b6eebf99" args="(const std::string &amp;path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Action::Erase::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="actions_8cpp_source.html#l00874">eraseComment()</a>, <a class="el" href="actions_8cpp_source.html#l00850">eraseExifData()</a>, <a class="el" href="actions_8cpp_source.html#l00865">eraseIptcData()</a>, <a class="el" href="actions_8cpp_source.html#l00836">eraseThumbnail()</a>, <a class="el" href="actions_8cpp_source.html#l00883">eraseXmpData()</a>, <a class="el" href="namespaceExiv2.html#0432df7d3995fa4d2fbc0b3f90265c59">Exiv2::fileExists()</a>, <a class="el" href="exiv2_8cpp_source.html#l00186">Params::instance()</a>, <a class="el" href="image_8cpp_source.html#l00306">Exiv2::ImageFactory::open()</a>, and <a class="el" href="exiv2_8hpp_source.html#l00191">Params::target_</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:49 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>