#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 | |
| const Instruction::Type & | type () const |
| virtual void | execute ()=0 |
| Instruction (const Instruction::Type &t) | |
| Instruction (const Instruction &I) | |
| virtual | ~Instruction () |
Protected Attributes | |
| const Instruction::Type | __type |
Definition at line 46 of file Instruction.hpp.
| enum Instruction::Type |
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 };
| Instruction::Instruction | ( | const Instruction::Type & | t | ) | [inline] |
| Instruction::Instruction | ( | const Instruction & | I | ) | [inline] |
| virtual Instruction::~Instruction | ( | ) | [inline, virtual] |
| const Instruction::Type& Instruction::type | ( | ) | const [inline] |
Definition at line 81 of file Instruction.hpp.
References __type.
00082 { 00083 return __type; 00084 }
| virtual void Instruction::execute | ( | ) | [pure virtual] |
Implemented in InstructionList, InstructionIfStatement, InstructionDoWhileStatement, InstructionForStatement, InstructionWhileStatement, InstructionOutput, InstructionInput, InstructionExec, InstructionCat, InstructionSaveMesh, InstructionSaveFieldList, InstructionPlot, InstructionNone, InstructionDeclaration< DataType, VarType >, InstructionAffectation< DataType, VarType >, InstructionRealExpressionIncrement, InstructionRealExpressionDecrement, InstructionAffectation< FunctionExpression, FunctionVariable >, InstructionEvaluation< ExpType >, InstructionUsingScene, InstructionExit, InstructionCoarseMesh, InstructionBlockBegin, and InstructionBlockEnd.
const Instruction::Type Instruction::__type [protected] |
1.5.6