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

PmtTiffAccessor Class Reference

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

#include <PmtTiffAccessor.h>

Inheritance diagram for PmtTiffAccessor:

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

Public Methods

 PmtTiffAccessor ()
 Default constructor. More...

 PmtTiffAccessor (TiffImageFile *img)
 The constructor which takes the image handle from the Open Tiff Toolkit. More...

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

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

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

virtual void close ()
 Close an Tiff image file. More...

virtual PmtAccessorPtr clone () const
 Return a copy of the PmtTiffAccessor. 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
 Used by the getAccessor() method to determine the file type. More...

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

Detailed Description

Provides access to metadata stored in TIFF 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

PmtTiffAccessor::PmtTiffAccessor   [inline]
 

Default constructor.

PmtTiffAccessor::PmtTiffAccessor TiffImageFile *    img [inline]
 

The constructor which takes the image handle from the Open Tiff Toolkit.

PmtTiffAccessor::PmtTiffAccessor const PmtTiffAccessor &    src [inline]
 

The copy constructor.

PmtTiffAccessor::~PmtTiffAccessor void    [virtual]
 

Destructor.


Member Function Documentation

virtual PmtAccessorPtr PmtTiffAccessor::clone void    const [inline, virtual]
 

Return a copy of the PmtTiffAccessor.

Implements PmtAccessor.

void PmtTiffAccessor::close   [virtual]
 

Close an Tiff image file.

Reimplemented from PmtAccessor.

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

Implements PmtAccessor.

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

Opens a TIFF image file for reading / writing (depending on the mode).

Implements PmtAccessor.

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

Read all existing metadata and return a root metadata.

Reimplemented from PmtAccessor.

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

Used by the getAccessor() method to determine the file type.

The derived accessor classes that want to be created from the getAccessor() method should provide an implementation for this method.

Implements PmtAccessor.

void PmtTiffAccessor::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.