hashWatch.h File Reference


Detailed Description

Author:
Helge Backhaus

#include <omnetpp.h>
#include <map>
#include <oversim_mapset.h>

Classes

class  cHashSetWatcher< T >
class  cHashMapWatcher< KeyT, ValueT, CmpT >
class  cPointerMapWatcher< KeyT, ValueT, CmpT >

Defines

#define WATCH_UNORDERED_SET(variable)
 Makes unordered_sets inspectable in Tkenv.
#define WATCH_UNORDERED_MAP(m)
 Makes unordered_maps inspectable in Tkenv.
#define WATCH_POINTER_MAP(m)
 Makes pointer_maps inspectable in Tkenv.

Functions

template<class T>
void createHashSetWatcher (const char *varname, UNORDERED_SET< T > &v)
template<class KeyT, class ValueT, class CmpT>
void createHashMapWatcher (const char *varname, UNORDERED_MAP< KeyT, ValueT, CmpT > &m)
template<class KeyT, class ValueT, class CmpT>
void createPointerMapWatcher (const char *varname, std::map< KeyT, ValueT, CmpT > &m)


Define Documentation

#define WATCH_POINTER_MAP (  ) 

Makes pointer_maps inspectable in Tkenv.

#define WATCH_UNORDERED_MAP (  ) 

Makes unordered_maps inspectable in Tkenv.

Referenced by BootstrapOracle::initialize(), and BootstrapList::initializeApp().

#define WATCH_UNORDERED_SET ( variable   ) 

Makes unordered_sets inspectable in Tkenv.


Function Documentation

template<class KeyT, class ValueT, class CmpT>
void createHashMapWatcher ( const char *  varname,
UNORDERED_MAP< KeyT, ValueT, CmpT > &  m 
) [inline]

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

template<class T>
void createHashSetWatcher ( const char *  varname,
UNORDERED_SET< T > &  v 
) [inline]

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

template<class KeyT, class ValueT, class CmpT>
void createPointerMapWatcher ( const char *  varname,
std::map< KeyT, ValueT, CmpT > &  m 
) [inline]

00160 {
00161     new cPointerMapWatcher<KeyT,ValueT,CmpT>(varname, m);
00162 }


Generated on Fri Sep 19 13:05:05 2008 for ITM OverSim by  doxygen 1.5.5