Exiv2
|
Rename a file to its metadate creation timestamp, in the specified format. More...
#include <actions.hpp>
Public Types | |
typedef std::auto_ptr< Rename > | 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. |
Rename a file to its metadate creation timestamp, in the specified format.
int Action::Rename::run | ( | const std::string & | path | ) | [virtual] |
Application interface to perform a task.
path | Path of the file to process. |
Implements Action::Task.
References Exiv2::ExifData::empty(), Exiv2::ExifData::end(), Exiv2::fileExists(), Exiv2::ExifData::findKey(), Params::instance(), Exiv2::ImageFactory::open(), and Exiv2::string.