Action::Modify Class Reference

Modify the Exif data according to the commands in the modification table. More...

#include <actions.hpp>

Inheritance diagram for Action::Modify:

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

Collaboration graph
[legend]

List of all members.

Public Types

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


Detailed Description

Modify the Exif data according to the commands in the modification table.

Member Function Documentation

int Action::Modify::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 applyCommands(), Exiv2::fileExists(), Params::instance(), and Exiv2::ImageFactory::open().


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

Generated on Wed May 6 13:07:03 2009 for Exiv2 by  doxygen 1.5.6