tIsDecoratable< Decorated > Class Template Reference

compile time test class that determines whether a class is decoratable More...

#include <tDecorator.h>

Collaboration diagram for tIsDecoratable< Decorated >:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { DECORATABLE = (sizeof(TestDecoratable( decorated_ ) ) <= sizeof( char) ) }

Static Public Member Functions

static Ret TestDecoratable (...)

Static Private Member Functions

static char TestDecoratable (tDecoratableIndicator const &)

Static Private Attributes

static Decorated & decorated_

Classes

struct  Ret


Detailed Description

template<class Decorated>
class tIsDecoratable< Decorated >

compile time test class that determines whether a class is decoratable

Definition at line 40 of file tDecorator.h.


Member Enumeration Documentation

template<class Decorated>
anonymous enum

this enum is the flag. Use tIsDecoratable<CLASS>::DECORATABLE to find out whether CLASS is decoratable or not.

Enumerator:
DECORATABLE 

Definition at line 53 of file tDecorator.h.

00053 { DECORATABLE=(sizeof(TestDecoratable( decorated_ ) ) <= sizeof( char) ) };


Member Function Documentation

template<class Decorated>
static char tIsDecoratable< Decorated >::TestDecoratable ( tDecoratableIndicator const &   )  [static, private]

template<class Decorated>
static Ret tIsDecoratable< Decorated >::TestDecoratable (   ...  )  [static]


Member Data Documentation

template<class Decorated>
Decorated& tIsDecoratable< Decorated >::decorated_ [static, private]

Definition at line 45 of file tDecorator.h.


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