InstantIO::RefCtr< T > Class Template Reference

A simple helper class that performs reference counting. More...

#include <InstantIO/RefCtr.h>

Inheritance diagram for InstantIO::RefCtr< T >:
InstantIO::BasicRefCtr

List of all members.

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.

Detailed Description

template<class T>
class InstantIO::RefCtr< T >

A simple helper class that performs reference counting.

Author:
Patrick Dähne

Member Function Documentation

template<class T>
const T& InstantIO::RefCtr< T >::getValue (  )  const [inline]

Returns the data object managed by the referencecounter object.

Returns:
The data object
template<class T>
T& InstantIO::RefCtr< T >::getValue (  )  [inline]

Returns the data object managed by the referencecounter object.

Returns:
The data object

The documentation for this class was generated from the following file:
Generated on Thu Jul 31 17:17:32 2014 by  doxygen 1.6.3