Exiv2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions
Action::Rename Class Reference

Rename a file to its metadate creation timestamp, in the specified format. More...

#include <actions.hpp>

+ Inheritance diagram for Action::Rename:
+ Collaboration diagram for Action::Rename:

List of all members.

Public Types

typedef std::auto_ptr< RenameAutoPtr
 Shortcut for an auto pointer.
- Public Types inherited from Action::Task

Public Member Functions

virtual int run (const std::string &path)
 Application interface to perform a task.
AutoPtr clone () const
 Virtual copy construction.
- Public Member Functions inherited from Action::Task
virtual ~Task ()
 Virtual destructor.

Detailed Description

Rename a file to its metadate creation timestamp, in the specified format.


Member Function Documentation

int Action::Rename::run ( const std::string &  path)
virtual

Application interface to perform a task.

Parameters:
pathPath of the file to process.
Returns:
0 if successful.

Implements Action::Task.

References Exiv2::ExifData::empty(), Exiv2::ExifData::end(), Exiv2::fileExists(), Exiv2::ExifData::findKey(), Params::instance(), Exiv2::ImageFactory::open(), and Exiv2::string.


The documentation for this class was generated from the following files: