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:

Inheritance graph
[legend]
Collaboration diagram for Action::Rename:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::auto_ptr< RenameAutoPtr
 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.


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:
path Path 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:

Generated on Tue Jul 21 13:33:45 2009 for Exiv2 by  doxygen 1.5.8