|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
PmtAttribute Class ReferencePmtAttribute is the base metadata attribute class.
More...
#include <PmtAttribute.h>
Inheritance diagram for PmtAttribute: [legend]Collaboration diagram for PmtAttribute:[legend]List of all members.
Detailed Description
PmtAttribute is the base metadata attribute class.
PmtAttribute serves as a base class for all potential atribute specialization. It provides a common interface for accessing, manipulating metadata attributes. Analogous to XML attributes, an attribute object contains two piece of information: a name and a value.
Constructor & Destructor Documentation
PmtAttribute::PmtAttribute |
( |
|
) |
[inline] |
|
PmtAttribute::PmtAttribute |
( |
const PmtAttribute & |
copy |
) |
[inline] |
|
virtual PmtAttribute::~PmtAttribute |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
virtual void PmtAttribute::addFacet |
( |
const PmtKeyType & |
facetName, |
|
|
const vector< SPmtString > & |
value, |
|
|
bool |
fixed |
|
) |
[inline, virtual] |
|
|
This method returns a copy of the accessor.
Implemented in PmtAttributeT. |
virtual EkString PmtAttribute::getFixedStr |
( |
|
) |
const [pure virtual] |
|
|
This method returns the value of the attribute.
Implemented in PmtAttributeT. |
virtual EkString PmtAttribute::getUseStr |
( |
|
) |
const [pure virtual] |
|
|
This method returns the value of the attribute.
Implemented in PmtAttributeT. |
virtual EkString PmtAttribute::getValueStr |
( |
|
) |
const [pure virtual] |
|
|
This method returns the value of the attribute.
Implemented in PmtAttributeT. |
virtual bool PmtAttribute::isChanged |
( |
|
) |
[inline, virtual] |
|
const PmtKeyType& PmtAttribute::name |
( |
|
) |
const [inline] |
|
|
Returns a const reference to the attribute's name.
|
virtual void PmtAttribute::setFixedStr |
( |
const EkString & |
valStr |
) |
[pure virtual] |
|
|
This method sets the value of the attribute.
Implemented in PmtAttributeT. |
virtual void PmtAttribute::setUseStr |
( |
const EkString & |
valStr |
) |
[pure virtual] |
|
|
This method sets the value of the attribute.
Implemented in PmtAttributeT. |
virtual void PmtAttribute::setValueStr |
( |
const EkString & |
valStr |
) |
[pure virtual] |
|
|
This method sets the value of the attribute.
Implemented in PmtAttributeT. |
virtual void PmtAttribute::show |
( |
int |
level = 0 |
) |
const [pure virtual] |
|
const PmtKeyType& PmtAttribute::trueType |
( |
|
) |
const [inline] |
|
const PmtKeyType& PmtAttribute::type |
( |
|
) |
const [inline] |
|
|
Returns a const reference to the attribute's value type.
|
virtual bool PmtAttribute::validate |
( |
|
) |
const [pure virtual] |
|
|
Returns true if the attribute value is valid.
Implemented in PmtAttributeT. |
Member Data Documentation
bool PmtAttribute::mIsChanged [protected]
|
|
The documentation for this class was generated from the following files:
|