light weight value holder with ref count logic More...
#include <ZFCoreValue.h>
Public Types | |
| typedef T_Value | ValueType |
| value type | |
Public Member Functions | |
| void | refPrepare (void) |
| prepare instance to make it able to be shared between each copy | |
| void | refDelete (void) |
| delete reference | |
| zfbool | valid (void) const |
| whether the value has been initialized | |
| T_Value & | value (void) |
| access the value | |
| T_Value const & | value (void) const |
| access the value | |
| ZFCoreValue< T_Value > & | value (T_Value const &v) |
| change the value, all reference would also be changed | |
light weight value holder with ref count logic