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

PmtFacet Class Reference

The PmtFacet class is the base class for all facet specializations. More...

#include <PmtFacet.h>

Inheritance diagram for PmtFacet:

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

Public Methods

virtual ~PmtFacet ()
virtual bool validate (const void *value) const=0
virtual void init (const vector< SPmtString > &value, bool fixed)=0
virtual void setFacetValue (const vector< SPmtString > &value, bool fixed)=0
const PmtKeyTypegetFacetName ()
virtual PmtFacetPtr clone () const=0
virtual void show (int level=0) const=0

Static Public Methods

PmtFacetFactoryTypegetFactory ()

Protected Methods

 PmtFacet (const PmtKeyType &facetName)
 PmtFacet (const PmtFacet &src)

Protected Attributes

bool mFixed
PmtKeyType mFacetName

Static Protected Attributes

PmtFacetFactoryType msFactory

Detailed Description

The PmtFacet class is the base class for all facet specializations.

Facets are range restrictions on the domain of a metadata's value. The PmtFacet class provides the base class definition for the variety of facets that can be associated with a value.


Constructor & Destructor Documentation

virtual PmtFacet::~PmtFacet   [inline, virtual]
 

PmtFacet::PmtFacet const PmtKeyType   facetName [inline, protected]
 

PmtFacet::PmtFacet const PmtFacet &    src [inline, protected]
 


Member Function Documentation

virtual PmtFacetPtr PmtFacet::clone   const [pure virtual]
 

Implemented in PmtFacetEnumeration.

const PmtKeyType& PmtFacet::getFacetName   [inline]
 

PmtFacetFactoryType& PmtFacet::getFactory   [inline, static]
 

virtual void PmtFacet::init const vector< SPmtString > &    value,
bool    fixed
[pure virtual]
 

Implemented in PmtFacetEnumeration.

virtual void PmtFacet::setFacetValue const vector< SPmtString > &    value,
bool    fixed
[pure virtual]
 

Implemented in PmtFacetEnumeration.

virtual void PmtFacet::show int    level = 0 const [pure virtual]
 

Implemented in PmtFacetEnumeration.

virtual bool PmtFacet::validate const void *    value const [pure virtual]
 

Implemented in PmtFacetEnumeration.


Member Data Documentation

PmtKeyType PmtFacet::mFacetName [protected]
 

bool PmtFacet::mFixed [protected]
 

PmtFacetFactoryType PmtFacet::msFactory [static, protected]
 


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.