A simple helper class that performs reference counting. More...
#include <InstantIO/RefCtr.h>
Public Member Functions | |
RefCtr () | |
Initializes the reference counter with 0. | |
const T & | getValue () const |
Returns the data object managed by the referencecounter object. | |
T & | getValue () |
Returns the data object managed by the referencecounter object. |
A simple helper class that performs reference counting.
const T& InstantIO::RefCtr< T >::getValue | ( | ) | const [inline] |
Returns the data object managed by the referencecounter object.
T& InstantIO::RefCtr< T >::getValue | ( | ) | [inline] |
Returns the data object managed by the referencecounter object.