Embeddable Scriting LAnguage

Stanford University, Rock Fracture Project research group

© 2003

BreakAction Class Reference

Inheritance diagram for BreakAction:

GenAction GenObject Counted

Detailed Description

Used to break from within a loop. Example:
     forall $i in "1 2 3 4 5 6"
       if $(i) = 3
       println $(i)

Definition at line 48 of file break_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 BreakAction::args   const [virtual]

Implements GenAction.

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

Implements GenAction.

virtual RET_TYPE BreakAction::execute   [virtual]

Implements GenAction.

virtual RET_TYPE BreakAction::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