<!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::Task 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 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> <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="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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="navpath"><a class="el" href="namespaceAction.html">Action</a>::<a class="el" href="classAction_1_1Task.html">Task</a> </div> </div> <div class="contents"> <h1>Action::Task Class Reference</h1><!-- doxytag: class="Action::Task" -->Abstract base class for all concrete actions. <a href="#_details">More...</a> <p> <code>#include <actions.hpp></code> <p> <div class="dynheader"> Inheritance diagram for Action::Task:</div> <div class="dynsection"> <p><center><img src="classAction_1_1Task__inherit__graph.png" border="0" usemap="#Action_1_1Task__inherit__map" alt="Inheritance graph"></center> <map name="Action_1_1Task__inherit__map"> <area shape="rect" id="node3" href="classAction_1_1Adjust.html" title="Adjust the Exif (or other metadata) timestamps" alt="" coords="201,5,361,32"><area shape="rect" id="node5" href="classAction_1_1Erase.html" title="Erase the entire exif data or only the thumbnail section." alt="" coords="205,56,357,83"><area shape="rect" id="node7" href="classAction_1_1Extract.html" title="Extract the entire exif data or only the thumbnail section." alt="" coords="196,107,367,133"><area shape="rect" id="node9" href="classAction_1_1FixIso.html" title="Copy ISO settings from any of the Nikon makernotes to the regular Exif tag, Exif..." alt="" coords="201,157,361,184"><area shape="rect" id="node11" href="classAction_1_1Insert.html" title="Insert the Exif data from corresponding *.exv files." alt="" coords="201,208,361,235"><area shape="rect" id="node13" href="classAction_1_1Modify.html" title="Modify the Exif data according to the commands in the modification table." alt="" coords="201,259,361,285"><area shape="rect" id="node15" href="classAction_1_1Print.html" title="Print the Exif (or other metadata) of a file to stdout" alt="" coords="205,309,357,336"><area shape="rect" id="node17" href="classAction_1_1Rename.html" title="Rename a file to its metadate creation timestamp, in the specified format." alt="" coords="201,360,361,387"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classAction_1_1Task-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="76329f48810f8e555b233d9f699faadd"></a><!-- doxytag: member="Action::Task::AutoPtr" ref="76329f48810f8e555b233d9f699faadd" args="" --> typedef std::auto_ptr< <a class="el" href="classAction_1_1Task.html">Task</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Task.html#76329f48810f8e555b233d9f699faadd">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"><a class="anchor" name="ee2b62b7b17504a2480e5123b35325d5"></a><!-- doxytag: member="Action::Task::~Task" ref="ee2b62b7b17504a2480e5123b35325d5" args="()" --> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Task.html#ee2b62b7b17504a2480e5123b35325d5">~Task</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual destructor. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="782c3b402c06625c7982cf4b668ffb4e"></a><!-- doxytag: member="Action::Task::clone" ref="782c3b402c06625c7982cf4b668ffb4e" 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_1Task.html#782c3b402c06625c7982cf4b668ffb4e">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">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Task.html#a10ce979cdedb8470d36413ec3a57bf2">run</a> (const std::string &path)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Application interface to perform a task. <a href="#a10ce979cdedb8470d36413ec3a57bf2"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Abstract base class for all concrete actions. <p> <a class="el" href="classAction_1_1Task.html" title="Abstract base class for all concrete actions.">Task</a> provides a simple interface that actions must implement and a few commonly used helpers. <hr><h2>Member Function Documentation</h2> <a class="anchor" name="a10ce979cdedb8470d36413ec3a57bf2"></a><!-- doxytag: member="Action::Task::run" ref="a10ce979cdedb8470d36413ec3a57bf2" args="(const std::string &path)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int Action::Task::run </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>path</em> </td> <td> ) </td> <td><code> [pure 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>Implemented in <a class="el" href="classAction_1_1Print.html#c5b21e74a2c628d498c3103a42cc8e21">Action::Print</a>, <a class="el" href="classAction_1_1Rename.html#b2b811ad1f5ae80e882b9b2b903dbfbb">Action::Rename</a>, <a class="el" href="classAction_1_1Adjust.html#790b327a3dc85d91fddf2684bd93130e">Action::Adjust</a>, <a class="el" href="classAction_1_1Erase.html#958425244c6b3eba57d6d229b6eebf99">Action::Erase</a>, <a class="el" href="classAction_1_1Extract.html#e44bbae8df585733ae162ff978fb0454">Action::Extract</a>, <a class="el" href="classAction_1_1Insert.html#19b222d0125abbcaef71a9797940f40f">Action::Insert</a>, <a class="el" href="classAction_1_1Modify.html#ac2ae1f0a022ea315e722d406374231f">Action::Modify</a>, and <a class="el" href="classAction_1_1FixIso.html#31127eb0657747906d338772b09edd81">Action::FixIso</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 <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>