cgma
|
#include <dataref.hpp>
Public Member Functions | |
ImmediateRef (const T &p) | |
virtual const T & | getData () const |
T & | getData () |
virtual ImmediateRef< T > * | clone () |
Protected Attributes | |
T | data |
Definition at line 29 of file dataref.hpp.
ImmediateRef< T >::ImmediateRef | ( | const T & | p | ) | [inline] |
Definition at line 35 of file dataref.hpp.
: data(p) {}
virtual ImmediateRef<T>* ImmediateRef< T >::clone | ( | ) | [inline, virtual] |
Implements DataRef< T >.
Definition at line 46 of file dataref.hpp.
{ return new ImmediateRef<T>( *this ); }
virtual const T& ImmediateRef< T >::getData | ( | ) | const [inline, virtual] |
T& ImmediateRef< T >::getData | ( | ) | [inline] |
Definition at line 44 of file dataref.hpp.
{ return data; }
T ImmediateRef< T >::data [protected] |
Definition at line 32 of file dataref.hpp.