#include <actions.hpp>
Inheritance diagram for Action::Print:
Public Types | |
typedef std::auto_ptr< Print > | AutoPtr |
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. | |
int | printComment () |
Print the Jpeg comment. | |
int | printIptc () |
Print uninterpreted Iptc information. | |
int | printSummary () |
Print Exif summary information. | |
int | printList () |
Print the list of Exif data in user defined format. | |
void | printLabel (const std::string &label) const |
Print the label for a summary line. | |
int | printTag (const Exiv2::ExifData &exifData, const std::string &key, const std::string &label="") const |
Print one summary line with a label (if provided) and requested data. A line break is printed only if a label is provided. |
int Action::Print::printTag | ( | const Exiv2::ExifData & | exifData, | |
const std::string & | key, | |||
const std::string & | label = "" | |||
) | const |
Print one summary line with a label (if provided) and requested data. A line break is printed only if a label is provided.
int Action::Print::run | ( | const std::string & | path | ) | [virtual] |
Application interface to perform a task.
path | Path of the file to process. |
Implements Action::Task.