#include <Instruction.hpp>


Public Types | |
| enum | Type { list, ifStatement, doWhileStatement, whileStatement, forStatement, exitStatement, coarseMesh, declaration, affectation, increment, input, decrement, evaluation, blockBegin, blockEnd, output, Using, exec, cat, plot, save, none } |
Public Member Functions | |
| void | execute () |
| InstructionDoWhileStatement (ReferenceCounting< Instruction > statement, ReferenceCounting< BooleanExpression > b) | |
| InstructionDoWhileStatement (const InstructionDoWhileStatement &I) | |
| ~InstructionDoWhileStatement () | |
| const Instruction::Type & | type () const |
Public Attributes | |
| ReferenceCounting< Instruction > | __statement |
| ReferenceCounting < BooleanExpression > | __booleanExpression |
Protected Attributes | |
| const Instruction::Type | __type |
Definition at line 191 of file Instruction.hpp.
enum Instruction::Type [inherited] |
Definition at line 49 of file Instruction.hpp.
00049 { 00050 list, 00051 ifStatement, 00052 doWhileStatement, 00053 whileStatement, 00054 forStatement, 00055 exitStatement, 00056 coarseMesh, 00057 00058 declaration, 00059 affectation, 00060 increment, 00061 input, 00062 decrement, 00063 evaluation, 00064 00065 blockBegin, 00066 blockEnd, 00067 00068 output, 00069 Using, 00070 exec, 00071 cat, 00072 plot, 00073 save, 00074 none 00075 };
| InstructionDoWhileStatement::InstructionDoWhileStatement | ( | ReferenceCounting< Instruction > | statement, | |
| ReferenceCounting< BooleanExpression > | b | |||
| ) | [inline] |
Definition at line 207 of file Instruction.hpp.
00209 : Instruction(Instruction::doWhileStatement), 00210 __statement(statement), 00211 __booleanExpression(b) 00212 { 00213 ; 00214 }
| InstructionDoWhileStatement::InstructionDoWhileStatement | ( | const InstructionDoWhileStatement & | I | ) | [inline] |
Definition at line 216 of file Instruction.hpp.
00217 : Instruction(I), 00218 __statement(I.__statement), 00219 __booleanExpression(I.__booleanExpression) 00220 { 00221 ; 00222 }
| InstructionDoWhileStatement::~InstructionDoWhileStatement | ( | ) | [inline] |
| void InstructionDoWhileStatement::execute | ( | ) | [inline, virtual] |
Implements Instruction.
Definition at line 199 of file Instruction.hpp.
References __booleanExpression, and __statement.
00200 { 00201 do { 00202 __statement->execute(); 00203 __booleanExpression->execute(); 00204 } while (__booleanExpression->boolValue()); 00205 }
| const Instruction::Type& Instruction::type | ( | ) | const [inline, inherited] |
Definition at line 81 of file Instruction.hpp.
References Instruction::__type.
00082 { 00083 return __type; 00084 }
const Instruction::Type Instruction::__type [protected, inherited] |
1.5.6