Class for TCL command description
![]() | (*getCommand(void) const) (TclModule *m, int argc, char **argv) returns command callback function (0 if none was set) |
![]() | getSynopsis (void) const returns command synopsis |
![]() | getOptions (void) const return command options hashtable |
![]() | genericCmd (ClientData cd, Tcl_Interp *interp, int argc, char **argv) TCL callback command |
![]() | Constructors
| ||||
![]() | Destructor
| ||||
![]() | argv arguments array (int argc, char **argv) const execute command with given arguments |
![]() | name command name |
![]() | synopsis command synopsis |
![]() | description commandeffect description |
![]() | options command options hashtable (can be empty if globalCommand != 0) |
![]() | module command module |
![]() | (*globalCommand) (TclModule *m, int argc, char **argv) command callback function (can be 0 if options is not empty) |
Class for TCL command description
const char* synopsis
const char* description
std::map < char *, CommandOption *, CStringCompare > * options
int (*globalCommand)(TclModule *m, int argc, char **argv)
TclModule* module
Constructors
_description command description string (TclModule *m, const char *_name, int(*fct)(TclModule *m, int argc, char **argv), const char *_synopsis = 0, const char *_description = 0)
_description command description string (const char *_name, std::map < char *, CommandOption *, CStringCompare > *_options, const char *_description = 0)
Destructor
int (*getCommand(void) const)(TclModule *m, int argc, char **argv)
TclString* getSynopsis(void) const
std::map < char *, CommandOption *, CStringCompare > * getOptions(void) const
int argv arguments array (int argc, char **argv) const
static int genericCmd(ClientData cd, Tcl_Interp *interp, int argc, char **argv)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de