#include <hashWatch.h>
Public Member Functions |
| cDequeWatcher (const char *name, std::deque< T > &var) |
const char * | className () const |
virtual const char * | getElemTypeName () const |
virtual int | size () const |
virtual std::string | at (int i) const |
virtual std::string | atIt () const |
Protected Attributes |
std::deque< T > & | v |
std::string | classname |
std::deque< T >::iterator | it |
int | itPos |
Detailed Description
template<class T>
class cDequeWatcher< T >
Definition at line 78 of file hashWatch.h.
Constructor & Destructor Documentation
Definition at line 86 of file hashWatch.h.
: cStdVectorWatcherBase(name),
v(var) {
classname = std::string(
"deque<")+opp_typename(
typeid(T))+
">";
}
Member Function Documentation
Definition at line 93 of file hashWatch.h.
{
if (i==0) {
} else {
for (
int k=0; k<i &&
it!=
v.end(); k++) ++
it;
}
return std::string("out of bounds");
}
}
Definition at line 108 of file hashWatch.h.
{
std::stringstream out;
out << (*it);
return out.str();
}
template<class T>
virtual const char* cDequeWatcher< T >::getElemTypeName |
( |
| ) |
const |
|
inlinevirtual |
Definition at line 91 of file hashWatch.h.
{return opp_typename(typeid(T));}
Member Data Documentation
The documentation for this class was generated from the following file: