Watch class, specifically for char. More...
#include <cwatch.h>
Public Member Functions | |
virtual const char * | getClassName () const |
virtual bool | supportsAssignment () const |
virtual std::string | info () const |
virtual void | assign (const char *s) |
Watch class, specifically for char.
virtual void cWatch_char::assign | ( | const char * | s | ) | [inline, virtual] |
Changes the watched variable's value.
May only be called if supportsAssignment() returns true.
Reimplemented from cWatchBase.
virtual const char* cWatch_char::getClassName | ( | ) | const [inline, virtual] |
Returns a pointer to the class name string.
This method is implemented using typeid (C++ RTTI), and it does not need to be overridden in subclasses.
Reimplemented from cObject.
virtual std::string cWatch_char::info | ( | ) | const [inline, virtual] |
Can be redefined to produce a one-line description of object.
The string appears in the graphical user interface (Tkenv) e.g. when the object is displayed in a listbox. The returned string should possibly be at most 80-100 characters long, and must not contain newline.
Reimplemented from cObject.