#include <Context.h>
|
| 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...
|
|
◆ getContext()
If context has been set, returns it through a cast to base class Context.
Returns the linked context. Risky: The actual object may be a derived class.
The documentation for this class was generated from the following file: