RVLAlg::BranchAlg Class Reference

Uses a terminator to select a branch in an algorithm. More...

#include <alg.hh>

Inheritance diagram for RVLAlg::BranchAlg:

RVLAlg::Algorithm List of all members.

Public Member Functions

 BranchAlg (Terminator &iftest, Algorithm &thenclause, Algorithm &elseclause)
virtual void run ()

Protected Attributes

Algorithmthencl
Algorithmelsecl
Terminatortest

Detailed Description

Uses a terminator to select a branch in an algorithm.

Definition at line 252 of file alg.hh.


Constructor & Destructor Documentation

RVLAlg::BranchAlg::BranchAlg ( Terminator iftest,
Algorithm thenclause,
Algorithm elseclause 
)

Definition at line 255 of file alg.hh.


Member Function Documentation

virtual void RVLAlg::BranchAlg::run (  )  [virtual]

Implements RVLAlg::Algorithm.

Definition at line 260 of file alg.hh.

References elsecl, RVLAlg::Terminator::query(), RVLAlg::Algorithm::run(), test, and thencl.


Member Data Documentation

Algorithm& RVLAlg::BranchAlg::thencl [protected]

Definition at line 268 of file alg.hh.

Referenced by run().

Algorithm& RVLAlg::BranchAlg::elsecl [protected]

Definition at line 269 of file alg.hh.

Referenced by run().

Terminator& RVLAlg::BranchAlg::test [protected]

Definition at line 270 of file alg.hh.

Referenced by run().


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for RvlAlg by  doxygen 1.4.7