#include <cwatch.h>
Inheritance diagram for cWatch:

variables to be inspectable in Tkenv.
Users rarely need to create cWatch objects directly, they rather use the WATCH() and LWATCH() macros.
Public Member Functions | |
Constructors, destructor, assignment | |
| cWatch (const cWatch &vs) | |
| cWatch (const char *name, char &c) | |
| cWatch (const char *name, signed char &c) | |
| cWatch (const char *name, unsigned char &c) | |
| cWatch (const char *name, bool &b) | |
| cWatch (const char *name, int &i) | |
| cWatch (const char *name, unsigned int &i) | |
| cWatch (const char *name, long &l) | |
| cWatch (const char *name, unsigned long &l) | |
| cWatch (const char *name, double &d) | |
| cWatch (const char *name, const char *&s) | |
| cWatch (const char *name, const signed char *&s) | |
| cWatch (const char *name, const unsigned char *&s) | |
| cWatch (const char *name, const cObject *&o) | |
| cWatch & | operator= (const cWatch &vs) |
Redefined cObject member functions. | |
| virtual cObject * | dup () const |
| virtual std::string | info () const |
| virtual void | writeContents (std::ostream &os) |
Accessing the stored variable reference. | |
| virtual void | printTo (char *s) const |
| char | typeChar () const |
| void * | pointer () const |
|
|
Copy constructor.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
||||||||||||
|
Initialize the shell to hold the given variable.
|
|
|
Creates and returns an exact copy of this object. See cObject for more details. Reimplemented from cObject. |
|
|
Produces a one-line information about the object. Output is like this: "int samples = 12 (12U, 0xC)" Reimplemented from cPolymorphic. |
|
|
Assignment operator. The name member doesn't get copied; see cObject's operator=() for more details. |
|
|
Returns pointer to the referenced variable.
|
|
|
Does actual work for info() and writeContents(). The output looks like this: "int samples = 12 (12U, 0xC)". |
|
|
Returns the type of the referenced variable. The return value is 'c','i','l','d','s','o' for char, int, long, double, string, cObject pointer, respectively. |
|
|
Writes the value of the variable to the output stream. The output looks like this: "int samples = 12 (12U, 0xC)". Reimplemented from cObject. |
1.3.9.1