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 |
![]() | |
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. | |
Rename a file to its metadate creation timestamp, in the specified format.
|
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.