Public Types | Static Public Member Functions | List of all members
SuperContextual< C > Class Template Reference

Adds class-specific convenience functions. More...

#include <Context.h>

Inheritance diagram for SuperContextual< C >:
Inheritance graph
[legend]
Collaboration diagram for SuperContextual< C >:
Collaboration graph
[legend]

Public Types

typedef drain::Cloner< Context, C > ctx_cloner_t
 

Static Public Member Functions

static C & baseCtx ()
 
static ctx_cloner_tgetContextCloner ()
 
- Static Public Member Functions inherited from Contextual
template<class T >
static Cloner< Context, T > & getCloner ()
 

Additional Inherited Members

- Public Member Functions inherited from Contextual
 Contextual ()
 Sets internal contextPtr to NULL.
 
 Contextual (const Contextual &src)
 Copies base context (even null) of the source. Notice that the actual instance may be of derived class.
 
 Contextual (Context &ctx)
 Copies internal contextPtr.
 
template<class C >
void setContext ()
 Sets internal contextPtr to the static source.
 
void setExternalContext (Context &ctx)
 Sets internal contextPtr to outside target.
 
bool contextIsSet () const
 True, if contextPtr has been set.
 
template<class T = Context>
T & getContext () const
 If context has been set, returns it through a cast to base class Context. More...
 
- Protected Attributes inherited from Contextual
ContextcontextPtr
 

Detailed Description

template<class C>
class drain::SuperContextual< C >

Adds class-specific convenience functions.


The documentation for this class was generated from the following file: