tDecoratorPOD< DecoratedDerived, Decoration > Class Template Reference

#include <tDecorator.h>

Inheritance diagram for tDecoratorPOD< DecoratedDerived, Decoration >:

Inheritance graph
[legend]
Collaboration diagram for tDecoratorPOD< DecoratedDerived, Decoration >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tDecoratorPOD (Decoration const &value)
 constructor, allocating the space

Private Member Functions

 tDecoratorPOD ()
virtual void Construct (void *decoration) const

Private Attributes

Decoration value_


Detailed Description

template<class DecoratedDerived, class Decoration>
class tDecoratorPOD< DecoratedDerived, Decoration >

Definition at line 283 of file tDecorator.h.


Constructor & Destructor Documentation

template<class DecoratedDerived, class Decoration>
tDecoratorPOD< DecoratedDerived, Decoration >::tDecoratorPOD ( Decoration const &  value  )  [inline]

constructor, allocating the space

Definition at line 287 of file tDecorator.h.

00288             : value_ ( value )
00289     {
00290     }

template<class DecoratedDerived, class Decoration>
tDecoratorPOD< DecoratedDerived, Decoration >::tDecoratorPOD (  )  [private]


Member Function Documentation

template<class DecoratedDerived, class Decoration>
virtual void tDecoratorPOD< DecoratedDerived, Decoration >::Construct ( void *  decoration  )  const [inline, private, virtual]

Reimplemented from tDecorator< DecoratedDerived, Decoration >.

Definition at line 297 of file tDecorator.h.

00298     {
00299         new(decoration) Decoration;
00300         *static_cast< Decoration * >( decoration ) = value_;
00301     }


Member Data Documentation

template<class DecoratedDerived, class Decoration>
Decoration tDecoratorPOD< DecoratedDerived, Decoration >::value_ [private]

Definition at line 295 of file tDecorator.h.


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:56:09 2008 for Armagetron Advanced by  doxygen 1.5.4