Exiv2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
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:
+ Collaboration diagram for Action::Modify:

Public Types

typedef std::auto_ptr< ModifyAutoPtr
 
- Public Types inherited from Action::Task
typedef std::auto_ptr< TaskAutoPtr
 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
 
- Public Member Functions inherited from Action::Task
virtual ~Task ()
 Virtual destructor.
 
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
pathPath 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: