cgma
DataRef< T > Class Template Reference

#include <dataref.hpp>

Inheritance diagram for DataRef< T >:
CardRef< T > ImmediateRef< T > NullRef< T > PointerRef< T >

List of all members.

Public Member Functions

virtual ~DataRef ()
virtual bool hasData () const
virtual const T & getData () const =0
virtual DataRef< T > * clone ()=0

Detailed Description

template<class T>
class DataRef< T >

Definition at line 6 of file dataref.hpp.


Constructor & Destructor Documentation

template<class T>
virtual DataRef< T >::~DataRef ( ) [inline, virtual]

Definition at line 9 of file dataref.hpp.

{}

Member Function Documentation

template<class T>
virtual DataRef<T>* DataRef< T >::clone ( ) [pure virtual]
template<class T>
virtual const T& DataRef< T >::getData ( ) const [pure virtual]
template<class T>
virtual bool DataRef< T >::hasData ( ) const [inline, virtual]

Reimplemented in NullRef< T >.

Definition at line 11 of file dataref.hpp.

{ return true; }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines