SourceForge.net Logo
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PmtExifAccessor Class Reference

Provides access to metadata stored in Exif formatted image files. More...

#include <PmtExifAccessor.h>

Inheritance diagram for PmtExifAccessor:

[legend]
Collaboration diagram for PmtExifAccessor:
[legend]
List of all members.

Public Methods

 PmtExifAccessor ()
 Default constructor. More...

 PmtExifAccessor (const PmtExifAccessor &src)
 The copy constructor. More...

virtual ~PmtExifAccessor (void)
 Destructor. More...

virtual bool open (const char *name, PmtOpenMode mode=PMT_READONLY)
 Opens an Exif image file for reading / writing (depending on the mode). More...

virtual void close ()
 Close the Exif file. More...

virtual PmtAccessorPtr clone () const
 Return a copy of the PmtExifAccessor. More...

virtual PmtMetadataPtr readMetadata (const SPmtString &nsURI="")
 Read all existing metadata and return a root metadata. More...


Protected Methods

virtual bool recognize (const SPmtString &name) const
 Check if the given file is an Exif file. More...

virtual void getMdValue (PmtMetadataPtr &md)
virtual void setMdValue (const PmtMetadataPtr &md)

Detailed Description

Provides access to metadata stored in Exif formatted image files.

One should never have to include this header file, nor use this interface directly. All access to this class' functionality should be through the PmtAccessor base class interface.


Constructor & Destructor Documentation

PmtExifAccessor::PmtExifAccessor   [inline]
 

Default constructor.

PmtExifAccessor::PmtExifAccessor const PmtExifAccessor &    src [inline]
 

The copy constructor.

virtual PmtExifAccessor::~PmtExifAccessor void    [virtual]
 

Destructor.


Member Function Documentation

virtual PmtAccessorPtr PmtExifAccessor::clone   const [inline, virtual]
 

Return a copy of the PmtExifAccessor.

Implements PmtAccessor.

void PmtExifAccessor::close   [virtual]
 

Close the Exif file.

Reimplemented from PmtAccessor.

void PmtExifAccessor::getMdValue PmtMetadataPtr   md [protected, virtual]
 

Implements PmtAccessor.

bool PmtExifAccessor::open const char *    name,
PmtOpenMode    mode = PMT_READONLY
[virtual]
 

Opens an Exif image file for reading / writing (depending on the mode).

Implements PmtAccessor.

PmtMetadataPtr PmtExifAccessor::readMetadata const SPmtString   nsURI = "" [virtual]
 

Read all existing metadata and return a root metadata.

Reimplemented from PmtAccessor.

bool PmtExifAccessor::recognize const SPmtString   name const [protected, virtual]
 

Check if the given file is an Exif file.

Implements PmtAccessor.

void PmtExifAccessor::setMdValue const PmtMetadataPtr   md [protected, virtual]
 

Implements PmtAccessor.


The documentation for this class was generated from the following files:
Last Updated: March 12, 2003 (rlr)
Copyright © 2003 Eastman Kodak Company All Rights Reserved.