#include <hashWatch.h>
Public Member Functions | |
cHashSetWatcher (const char *name, UNORDERED_SET< T > &var) | |
const char * | getClassName () const |
virtual const char * | getElemTypeName () const |
virtual int | size () const |
virtual std::string | at (int i) const |
virtual std::string | atIt () const |
Protected Attributes | |
UNORDERED_SET< T > & | v |
std::string | classname |
UNORDERED_SET< T >::iterator | it |
int | itPos |
Definition at line 34 of file hashWatch.h.
cHashSetWatcher< T >::cHashSetWatcher | ( | const char * | name, | |
UNORDERED_SET< T > & | var | |||
) | [inline] |
Definition at line 42 of file hashWatch.h.
virtual std::string cHashSetWatcher< T >::at | ( | int | i | ) | const [inline, virtual] |
virtual std::string cHashSetWatcher< T >::atIt | ( | ) | const [inline, virtual] |
Definition at line 64 of file hashWatch.h.
{
std::stringstream out;
out << (*it);
return out.str();
}
const char* cHashSetWatcher< T >::getClassName | ( | ) | const [inline] |
Definition at line 46 of file hashWatch.h.
{return classname.c_str();}
virtual const char* cHashSetWatcher< T >::getElemTypeName | ( | ) | const [inline, virtual] |
Definition at line 47 of file hashWatch.h.
{return opp_typename(typeid(T));}
virtual int cHashSetWatcher< T >::size | ( | ) | const [inline, virtual] |
Definition at line 48 of file hashWatch.h.
{return v.size();}
std::string cHashSetWatcher< T >::classname [protected] |
Definition at line 38 of file hashWatch.h.
UNORDERED_SET<T>::iterator cHashSetWatcher< T >::it [mutable, protected] |
Definition at line 39 of file hashWatch.h.
int cHashSetWatcher< T >::itPos [mutable, protected] |
Definition at line 40 of file hashWatch.h.
UNORDERED_SET<T>& cHashSetWatcher< T >::v [protected] |
Definition at line 37 of file hashWatch.h.