#include <MNAttr.h>
Inheritance diagram for Attr< Index, ValueType >:


Public Types | |
| enum | { Value = Index } |
Public Member Functions | |
| Attr (const ValueType &v) | |
| Attr (AttributeStore *valueStore) | |
| virtual | ~Attr () |
| bool | set (const ValueType &v) |
| Internal function called by set(). | |
| bool | set (const Attr &v) |
| operator ValueType () const | |
| Attr & | operator= (const ValueType &newval) |
| ValueType & | operator-> () |
| bool | isSet () const |
|
|||||
|
|
|
||||||||||
|
This constructor is used by AttributeStore::set() to hold a temporary variable for changing the value of an attribute member of a child class in a generic way. |
|
||||||||||
|
This constructor is used by child classes of SH to create an attribute member. |
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
In general, the SH child class can use its attributes like the values that they represent. |
|
|||||||||
|
|
|
||||||||||
|
This is an initialization function. Restrain from using it instead of the set() function. It does not prevent re-setting. |
|
||||||||||
|
|
|
||||||||||
|
Internal function called by set().
|
1.3.8