#include <tDecorator.h>
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_ |
Definition at line 283 of file tDecorator.h.
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 }
tDecoratorPOD< DecoratedDerived, Decoration >::tDecoratorPOD | ( | ) | [private] |
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 }
Decoration tDecoratorPOD< DecoratedDerived, Decoration >::value_ [private] |
Definition at line 295 of file tDecorator.h.