


Public Member Functions | |
| vec_dispatcher (unsigned int key_argn) | |
| virtual void | dispatch (tcl::interpreter &interp, unsigned int objc, Tcl_Obj *const objv[], tcl::function &callback) |
tcl::vec_dispatcher reimplements dispatch() to use a specialized tcl::call_context class that treats each of the arguments as lists, and provide access to slices across those lists, thus allowing "vectorized" command invocations.
Definition at line 139 of file vecdispatch.cc.
| void tcl::vec_dispatcher::dispatch | ( | tcl::interpreter & | interp, | |
| unsigned int | objc, | |||
| Tcl_Obj *const | objv[], | |||
| tcl::function & | callback | |||
| ) | [virtual] |
Interprets the Tcl_Obj* arguments, sets up an appropriate tcl::call_context, and calls invoke() on the cmd with that context.
Implements tcl::arg_dispatcher.
Definition at line 155 of file vecdispatch.cc.
References tcl::list::get_obj_list_length(), and tcl::function::invoke().
1.6.3