Exiv2
|
Abstract base class for all concrete actions. More...
#include <actions.hpp>
Public Types | |
typedef std::auto_ptr< Task > | AutoPtr |
Shortcut for an auto pointer. | |
Public Member Functions | |
virtual | ~Task () |
Virtual destructor. | |
AutoPtr | clone () const |
Virtual copy construction. | |
virtual int | run (const std::string &path)=0 |
Application interface to perform a task. More... | |
Abstract base class for all concrete actions.
Task provides a simple interface that actions must implement and a few commonly used helpers.
|
pure virtual |
Application interface to perform a task.
path | Path of the file to process. |
Implemented in Action::FixCom, Action::FixIso, Action::Modify, Action::Insert, Action::Extract, Action::Erase, Action::Adjust, Action::Rename, and Action::Print.