Exiv2
|
Modify the Exif data according to the commands in the modification table. More...
#include <actions.hpp>
Public Types | |
typedef std::auto_ptr< Modify > | AutoPtr |
![]() | |
typedef std::auto_ptr< Task > | AutoPtr |
Shortcut for an auto pointer. | |
Public Member Functions | |
virtual int | run (const std::string &path) |
Application interface to perform a task. More... | |
AutoPtr | clone () const |
![]() | |
virtual | ~Task () |
Virtual destructor. | |
AutoPtr | clone () const |
Virtual copy construction. | |
Static Public Member Functions | |
static int | applyCommands (Exiv2::Image *pImage) |
Apply modification commands to the pImage, return 0 if successful. | |
Modify the Exif data according to the commands in the modification table.
|
virtual |
Application interface to perform a task.
path | Path of the file to process. |
Implements Action::Task.
References applyCommands(), Exiv2::fileExists(), Params::instance(), and Exiv2::ImageFactory::open().