Embeddable Scriting LAnguage

Stanford University, Rock Fracture Project research group

© 2003

CallAction Class Reference

Inheritance diagram for CallAction:

GenAction GenObject Counted

Detailed Description

Used to call a function by a variable's value. Example:
     function test1
       println test1
     function test2
       println test2
    set $a test2
    call $(a)

Definition at line 51 of file call_action.h.

Public Methods

virtual RET_TYPE set_parameters (IfStream *, const std::string &params)
virtual RET_TYPE execute ()
virtual std::string args () const
virtual std::string command_name () const

Member Function Documentation

virtual std::string CallAction::args   const [virtual]

Implements GenAction.

virtual std::string CallAction::command_name   const [virtual]

Implements GenAction.

virtual RET_TYPE CallAction::execute   [virtual]

Implements GenAction.

virtual RET_TYPE CallAction::set_parameters IfStream  ,
const std::string &    params

Implements GenAction.

Generated on Wed May 14 11:42:32 2003 for Esla-lib by doxygen1.3-rc1