Regina Calculation Engine
|
An NProperty storage policy indicating that the property should be held by constant pointer. More...
#include <utilities/nproperty.h>
Public Types | |
typedef const T * | InitType |
The type by which new values for the underlying property are passed. More... | |
typedef const T * | QueryType |
The type by which the property value is returned to the user. More... | |
Public Member Functions | |
StoreConstPtr () | |
Constructor that sets the held pointer to 0. More... | |
void | clear () |
Cleans up any currently held value before the property value is changed or cleared. More... | |
Protected Attributes | |
const T * | value_ |
The held property value. More... | |
An NProperty storage policy indicating that the property should be held by constant pointer.
The property assignment and query routines will also use constant pointers, and the NProperty wrapper takes no responsibility for memory management of the held value.
See the NProperty class notes for details.
typedef const T* regina::StoreConstPtr< T >::InitType |
The type by which new values for the underlying property are passed.
typedef const T* regina::StoreConstPtr< T >::QueryType |
The type by which the property value is returned to the user.
|
inline |
Constructor that sets the held pointer to 0.
|
inline |
Cleans up any currently held value before the property value is changed or cleared.
This implementation resets the held pointer to 0.
|
protected |
The held property value.