<!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="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.4 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.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> <u>S</u>earch for </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="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="nav"> <a class="el" href="namespaceAction.html">Action</a>::<a class="el" href="classAction_1_1Erase.html">Erase</a></div> <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 <actions.hpp></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" href="classAction_1_1Task.html" title="Abstract base class for all concrete actions." alt="" coords="11,7,152,31"></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" href="classAction_1_1Task.html" title="Abstract base class for all concrete actions." alt="" coords="5,172,147,196"><area shape="rect" title="STL class." alt="" coords="171,172,301,196"><area shape="rect" title="STL class." alt="" coords="100,7,372,31"></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< <a class="el" href="classAction_1_1Erase.html">Erase</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Erase.html#29380d4001e3ada7264a2d02ee261fd8">AutoPtr</a></td></tr> <tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Erase.html#958425244c6b3eba57d6d229b6eebf99">run</a> (const std::string &path)</td></tr> <tr><td class="mdescLeft"> </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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Erase.html#7665575bd28ad583d15c071248528d26">clone</a> () const </td></tr> <tr><td class="mdescLeft"> </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 </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"> </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 </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"> </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 </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"> </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 </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"> </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 </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"> </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 &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 & </td> <td class="paramname"> <em>path</em> </td> <td> ) </td> <td width="100%"><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> </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> </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> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 5 11:51:00 2008 for Exiv2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address> </body> </html>