ecolab::TCL_obj_functor< C, T > Struct Template Reference
Inheritance diagram for ecolab::TCL_obj_functor< C, T >:
Inheritance graph
Collaboration diagram for ecolab::TCL_obj_functor< C, T >:
Collaboration graph

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[])
 
- Public Member Functions inherited from ecolab::cmd_data
 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[])
 
- Public Attributes inherited from ecolab::cmd_data
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

- Public Types inherited from ecolab::cmd_data
enum  functor_class {
  invalid, memvoid, mem, func,
  nonconst
}
 

The documentation for this struct was generated from the following file: