#include <DebugGlobals.h>
Public Member Functions | |
void | add (const std::string &name, T v) |
T & | operator() (const std::string &name) |
template<class U > | |
U | getAs (const std::string &name) |
Convinience methot for getting an object downcast into type U. | |
template<class U > | |
U | reinterpretAs (const std::string &name) |
Convinience methot for getting an object reinterpreted into type U. | |
Protected Types | |
typedef std::pair< std::string, T > | Pair |
typedef std::map< std::string, T > | Map |
Protected Attributes | |
Map | map |
Definition at line 45 of file DebugGlobals.h.
Definition at line 65 of file DebugGlobals.h.
Definition at line 64 of file DebugGlobals.h.
void Util::DG< T >::add | ( | const std::string & | name, | |
T | v | |||
) | [inline] |
Definition at line 47 of file DebugGlobals.h.
U Util::DG< T >::getAs | ( | const std::string & | name | ) | [inline] |
Convinience methot for getting an object downcast into type U.
Definition at line 57 of file DebugGlobals.h.
T& Util::DG< T >::operator() | ( | const std::string & | name | ) | [inline] |
U Util::DG< T >::reinterpretAs | ( | const std::string & | name | ) | [inline] |
Convinience methot for getting an object reinterpreted into type U.
Definition at line 61 of file DebugGlobals.h.
Definition at line 66 of file DebugGlobals.h.