tcl::vec_context Class Reference

Inheritance diagram for tcl::vec_context:

Inheritance graph
[legend]
Collaboration diagram for tcl::vec_context:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vec_context (tcl::interpreter &interp, unsigned int objc, Tcl_Obj *const objv[])
virtual ~vec_context () throw ()
void flush_result ()
void next ()
tcl::interpreterinterp () const throw ()
 Get the Tcl interpreter of the current invocation.
unsigned int objc () const throw ()
 Return the number of arguments in the current invocation.
template<class T>
returnable< T >::type get_arg (unsigned int argn)
template<class T>
void set_result (T t)
 Return satisfactorily with the result t of type T.
Tcl_Obj *const * get_raw_args () const throw ()
 Get the raw objv array.

Protected Member Functions

virtual Tcl_Objget_objv (unsigned int argn) throw ()
 Get the n'th argument.
virtual void set_obj_result (const tcl::obj &obj)
 Return a Tcl_Obj*.

Friends

class tcl::command

Detailed Description

Definition at line 65 of file vecdispatch.cc.


Member Function Documentation

template<class T>
returnable<T>::type tcl::call_context::get_arg ( unsigned int  argn  )  [inline, inherited]

Attempt to convert argument number argn to type T, and return the result of the conversion.

Definition at line 206 of file command.h.

References tcl::call_context::get_objv().


The documentation for this class was generated from the following file:
The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Mon Feb 11 05:09:31 2008 by Doxygen version 1.5.2.