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