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 |
Shortcut for an auto pointer. | |
Public Member Functions | |
virtual int | run (const std::string &path) |
Application interface to perform a task. | |
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.
int Action::Modify::run | ( | const std::string & | path | ) | [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().