Public Member Functions | |
void | init (C &oo, T(C::*m)()) |
void | init (C &oo, T(C::*m)(int, char **)) |
void | init (C &oo, T(C::*m)(TCL_args)) |
void | init (C &oo, T(*f)(...)) |
void | init (C &oo, T(*f)(const TCL_args &)) |
void | proc (int argc, CONST84 char **argv) |
void | proc (int argc, Tcl_Obj *const argv[]) |
![]() | |
cmd_data (const char *nm, int na=-1) | |
Public Attributes | |
C * | o |
functor_class | c |
union { | |
T(C::* mbrvoid )() | |
T(C::* mbr )(int, char **) | |
T(C::* mbrobj )(TCL_args) | |
T(* fptr )(...) | |
T(* ofptr )(const TCL_args &) | |
}; | |
void(* | hook )(int argc, CONST84 char **argv) |
void(* | thook )(int argc, Tcl_Obj *const argv[]) |
![]() | |
int | nargs |
string | name |
bool | is_const |
true if this command doesn't affect the object's (or global state) | |
bool | is_setterGetter |
true if this command is a setter/getter (no argument=getter, 1 or more arguments a setter) | |
Additional Inherited Members | |
![]() | |
enum | functor_class { invalid, memvoid, mem, func, nonconst } |