hashWatch.h File Reference

#include <omnetpp.h>
#include <ext/hash_map>
#include <ext/hash_set>

Classes

class  cHashSetWatcher< T >
class  cHashMapWatcher< 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.

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)


Define Documentation

#define WATCH_HASH_MAP (  ) 

Makes ext::hash_maps inspectable in Tkenv.

#define WATCH_HASH_SET ( variable   ) 

Makes ext::hash_sets inspectable in Tkenv.


Function Documentation

template<class KeyT, class ValueT, class CmpT>
void createHashMapWatcher ( const char *  varname,
__gnu_cxx::hash_map< KeyT, ValueT, CmpT > &  m 
)

00116 {
00117     new cHashMapWatcher<KeyT,ValueT,CmpT>(varname, m);
00118 }

template<class T>
void createHashSetWatcher ( const char *  varname,
__gnu_cxx::hash_set< T > &  v 
)

00072 {
00073     new cHashSetWatcher<T>(varname, v);
00074 }


Generated on Tue Jul 24 16:51:17 2007 for ITM OverSim by  doxygen 1.5.1