#include <cwatch.h>

To be used only via the WATCH, WATCH_PTR, WATCH_OBJ, WATCH_VECTOR etc macros.
Public Member Functions | |
Constructors, destructor, assignment | |
| cWatchBase (const char *name) | |
New methods | |
| virtual bool | supportsAssignment () const =0 |
| virtual void | assign (const char *s) |
| cWatchBase::cWatchBase | ( | const char * | name | ) | [inline] |
Initialize the shell to hold the given variable.
| virtual bool cWatchBase::supportsAssignment | ( | ) | const [pure virtual] |
Tells if changing the variable's value via assign() is supported.
Implemented in cGenericReadonlyWatch< T >, cGenericAssignableWatch< T >, cWatch_bool, cWatch_char, cWatch_uchar, cWatch_stdstring, cWatch_cObject, and cWatch_cObjectPtr.
| virtual void cWatchBase::assign | ( | const char * | s | ) | [inline, virtual] |
Changes the watched variable's value.
May only be called if supportsAssignment() returns true.
Reimplemented in cGenericAssignableWatch< T >, cWatch_bool, cWatch_char, cWatch_uchar, and cWatch_stdstring.
1.5.5