aspect::Aspect_Has_Const_Access_To_Owner< Owner > Class Template Reference

Base class for aspects that require read access to their owner, but not write access. More...

#include <Aspect.hpp>

List of all members.

Public Member Functions

 Aspect_Has_Const_Access_To_Owner (const Owner *x)
 Default constructor.
const Owner * owner () const
 Accessor to owner.


Detailed Description

template<class Owner>
class aspect::Aspect_Has_Const_Access_To_Owner< Owner >

Base class for aspects that require read access to their owner, but not write access.

Not all aspects require access to their owner class. Universally, null aspects don't, because the operations they define don't do anything. Access to an owner requires storing a pointer, so a null aspect couldn't have one anyway, since a null aspect must not define storage (otherwise it's not null).


Constructor & Destructor Documentation

template<class Owner>
aspect::Aspect_Has_Const_Access_To_Owner< Owner >::Aspect_Has_Const_Access_To_Owner ( const Owner *  x  )  [inline]

Default constructor.


Member Function Documentation

template<class Owner>
const Owner* aspect::Aspect_Has_Const_Access_To_Owner< Owner >::owner (  )  const [inline]

Accessor to owner.


The documentation for this class was generated from the following file:
Generated on Thu Mar 6 18:25:09 2008 for Gnash by  doxygen 1.5.4