#include <omnetpp.h>
#include <map>
#include <ext/hash_map>
#include <ext/hash_set>
Classes | |
class | cHashSetWatcher< T > |
class | cHashMapWatcher< KeyT, ValueT, CmpT > |
class | cPointerMapWatcher< KeyT, ValueT, CmpT > |
Defines | |
#define | WATCH_HASH_SET(variable) |
Makes ext::hash_sets inspectable in Tkenv. | |
#define | WATCH_HASH_MAP(m) |
Makes ext::hash_maps inspectable in Tkenv. | |
#define | WATCH_POINTER_MAP(m) |
Makes pointer_maps inspectable in Tkenv. | |
Functions | |
template<class T> | |
void | createHashSetWatcher (const char *varname, __gnu_cxx::hash_set< T > &v) |
template<class KeyT, class ValueT, class CmpT> | |
void | createHashMapWatcher (const char *varname, __gnu_cxx::hash_map< KeyT, ValueT, CmpT > &m) |
template<class KeyT, class ValueT, class CmpT> | |
void | createPointerMapWatcher (const char *varname, std::map< KeyT, ValueT, CmpT > &m) |
#define WATCH_HASH_MAP | ( | m | ) |
Makes ext::hash_maps inspectable in Tkenv.
#define WATCH_HASH_SET | ( | variable | ) |
Makes ext::hash_sets inspectable in Tkenv.
#define WATCH_POINTER_MAP | ( | m | ) |
Makes pointer_maps inspectable in Tkenv.
void createHashMapWatcher | ( | const char * | varname, | |
__gnu_cxx::hash_map< KeyT, ValueT, CmpT > & | m | |||
) | [inline] |
void createHashSetWatcher | ( | const char * | varname, | |
__gnu_cxx::hash_set< T > & | v | |||
) | [inline] |
void createPointerMapWatcher | ( | const char * | varname, | |
std::map< KeyT, ValueT, CmpT > & | m | |||
) | [inline] |