#include <nproperty.h>
Public Types | |
typedef const T & | InitType |
The type by which new values for the underlying property are passed. | |
typedef const T & | QueryType |
The type by which the property value is returned to the user. | |
Public Member Functions | |
void | clear () |
Cleans up any currently held value before the property value is changed or cleared. | |
Protected Attributes | |
T | value_ |
The held property value. |
That is, upon assignment or initialisation the underlying value will be copied into the NProperty wrapper.
The property type T must have a copy assignment operator, and it must also have either a copy constructor and/or a default constructor according to which NProperty constructors are used.
See the NProperty class notes for details.
typedef const T& regina::StoreValue< T >::InitType |
The type by which new values for the underlying property are passed.
Reimplemented in regina::NProperty< regina::NLargeInteger >, regina::NProperty< bool >, and regina::NProperty< regina::NTriBool >.
typedef const T& regina::StoreValue< T >::QueryType |
The type by which the property value is returned to the user.
Reimplemented in regina::NProperty< regina::NLargeInteger >, regina::NProperty< bool >, and regina::NProperty< regina::NTriBool >.
void regina::StoreValue< T >::clear | ( | ) | [inline] |
Cleans up any currently held value before the property value is changed or cleared.
This implementation does nothing.
Reimplemented in regina::NProperty< regina::NLargeInteger >, regina::NProperty< bool >, and regina::NProperty< regina::NTriBool >.
T regina::StoreValue< T >::value_ [protected] |
The held property value.