|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
PmtAttributeT Class Template ReferencePmtAttributeT is a template metadata attribute class.
More...
#include <PmtAttributeT.h>
Inheritance diagram for PmtAttributeT: [legend]Collaboration diagram for PmtAttributeT:[legend]List of all members.
Detailed Description
template<class TYPE>
class PmtAttributeT< TYPE >
PmtAttributeT is a template metadata attribute class.
PmtAttributeT is a template class derived from PmtAttribute. It contains the attribute value and facets associated with the value.
Constructor & Destructor Documentation
template<class TYPE> |
PmtAttributeT< TYPE >::PmtAttributeT |
( |
|
) |
[inline] |
|
template<class TYPE> |
PmtAttributeT< TYPE >::PmtAttributeT |
( |
const PmtKeyType & |
name, |
|
|
const PmtKeyType & |
type, |
|
|
const PmtKeyType & |
trueType, |
|
|
const TYPE & |
value, |
|
|
const TYPE & |
fixed, |
|
|
const SPmtString & |
use |
|
) |
[inline] |
|
template<class TYPE> |
PmtAttributeT< TYPE >::PmtAttributeT |
( |
const PmtAttributeT< TYPE > & |
src |
) |
[inline] |
|
Member Function Documentation
template<class TYPE> |
void PmtAttributeT< TYPE >::addFacet |
( |
const PmtKeyType & |
facetName, |
|
|
const vector< SPmtString > & |
value, |
|
|
bool |
fixed |
|
) |
[inline, protected, virtual] |
|
template<class TYPE> |
virtual PmtAttributePtr PmtAttributeT< TYPE >::clone |
( |
|
) |
const [inline, virtual] |
|
|
This method returns a copy of the accessor.
Implements PmtAttribute. |
template<class TYPE> |
EkString PmtAttributeT< TYPE >::getFixedStr |
( |
|
) |
const [inline, virtual] |
|
|
This method returns the value fixed of the attribute.
Implements PmtAttribute. |
template<class TYPE> |
EkString PmtAttributeT< TYPE >::getUseStr |
( |
|
) |
const [inline, virtual] |
|
|
This method returns the value use of the attribute.
Implements PmtAttribute. |
template<class TYPE> |
EkString PmtAttributeT< TYPE >::getValueStr |
( |
|
) |
const [inline, virtual] |
|
|
This method returns the value of the attribute.
Implements PmtAttribute. |
template<class TYPE> |
void PmtAttributeT< TYPE >::setFixedStr |
( |
const EkString & |
valStr |
) |
[inline, virtual] |
|
|
This method sets the value fixed of the attribute.
Implements PmtAttribute. |
template<class TYPE> |
void PmtAttributeT< TYPE >::setUseStr |
( |
const EkString & |
valStr |
) |
[inline, virtual] |
|
|
This method sets the value use of the attribute.
Implements PmtAttribute. |
template<class TYPE> |
void PmtAttributeT< TYPE >::setValueStr |
( |
const EkString & |
valStr |
) |
[inline, virtual] |
|
|
This method sets the value of the attribute.
Implements PmtAttribute. |
template<class TYPE> |
void PmtAttributeT< TYPE >::show |
( |
int |
level = 0 |
) |
const [inline, virtual] |
|
template<class TYPE> |
bool PmtAttributeT< TYPE >::validate |
( |
|
) |
const [inline, virtual] |
|
|
Returns true if attribute value is valid.
Implements PmtAttribute. |
template<class TYPE> |
TYPE& PmtAttributeT< TYPE >::value |
( |
|
) |
[inline] |
|
|
This method returns a reference to the attribute value.
|
template<class TYPE> |
const TYPE& PmtAttributeT< TYPE >::value |
( |
|
) |
const [inline] |
|
|
This method returns a const reference to the attribute value.
|
Member Data Documentation
template<class TYPE> |
vector<PmtFacetPtr> PmtAttributeT::mFacets [protected]
|
|
template<class TYPE> |
TYPE PmtAttributeT::mFixed [protected]
|
|
template<class TYPE> |
SPmtString PmtAttributeT::mUse [protected]
|
|
template<class TYPE> |
TYPE PmtAttributeT::mValue [protected]
|
|
The documentation for this class was generated from the following file:
|