#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 () |
| InstructionExit () | |
| InstructionExit (ReferenceCounting< RealExpression > e) | |
| InstructionExit (const InstructionExit &I) | |
| ~InstructionExit () | |
| const Instruction::Type & | type () const |
Protected Attributes | |
| const Instruction::Type | __type |
Private Attributes | |
| ReferenceCounting< RealExpression > | __realExpression |
Definition at line 838 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 };
| InstructionExit::InstructionExit | ( | ) | [inline] |
Definition at line 858 of file Instruction.hpp.
00859 : Instruction(Instruction::exitStatement), 00860 __realExpression(0) 00861 { 00862 ; 00863 }
| InstructionExit::InstructionExit | ( | ReferenceCounting< RealExpression > | e | ) | [inline] |
Definition at line 865 of file Instruction.hpp.
00866 : Instruction(Instruction::exitStatement), 00867 __realExpression(e) 00868 { 00869 ; 00870 }
| InstructionExit::InstructionExit | ( | const InstructionExit & | I | ) | [inline] |
Definition at line 872 of file Instruction.hpp.
00873 : Instruction(I), 00874 __realExpression(I.__realExpression) 00875 { 00876 ; 00877 }
| InstructionExit::~InstructionExit | ( | ) | [inline] |
| void InstructionExit::execute | ( | ) | [inline, virtual] |
Implements Instruction.
Definition at line 845 of file Instruction.hpp.
References __realExpression, and ErrorHandler::asked.
00846 { 00847 if (__realExpression != 0) { 00848 __realExpression->execute(); 00849 throw ErrorHandler(__FILE__,__LINE__, 00850 "exit called (argument ignored)", 00851 ErrorHandler::asked); 00852 } 00853 throw ErrorHandler(__FILE__,__LINE__, 00854 "exit called", 00855 ErrorHandler::asked); 00856 }
| 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