InstructionEvaluation< ExpType > Class Template Reference

#include <Instruction.hpp>

Inheritance diagram for InstructionEvaluation< ExpType >:

Inheritance graph
[legend]
Collaboration diagram for InstructionEvaluation< ExpType >:

Collaboration graph
[legend]

List of all members.

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 ()
 InstructionEvaluation (ReferenceCounting< ExpType > e)
 InstructionEvaluation (const InstructionEvaluation< ExpType > &I)
 ~InstructionEvaluation ()
const Instruction::Typetype () const

Protected Attributes

const Instruction::Type __type

Private Attributes

ReferenceCounting< ExpType > __expression


Detailed Description

template<typename ExpType>
class InstructionEvaluation< ExpType >

Definition at line 789 of file Instruction.hpp.


Member Enumeration Documentation

enum Instruction::Type [inherited]

Enumerator:
list 
ifStatement 
doWhileStatement 
whileStatement 
forStatement 
exitStatement 
coarseMesh 
declaration 
affectation 
increment 
input 
decrement 
evaluation 
blockBegin 
blockEnd 
output 
Using 
exec 
cat 
plot 
save 
none 

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   };


Constructor & Destructor Documentation

template<typename ExpType>
InstructionEvaluation< ExpType >::InstructionEvaluation ( ReferenceCounting< ExpType >  e  )  [inline]

Definition at line 801 of file Instruction.hpp.

00802     : Instruction(Instruction::evaluation),
00803       __expression(e)
00804   {
00805     ;
00806   }

template<typename ExpType>
InstructionEvaluation< ExpType >::InstructionEvaluation ( const InstructionEvaluation< ExpType > &  I  )  [inline]

Definition at line 808 of file Instruction.hpp.

00809     : Instruction(I),
00810       __expression(I.__expression)
00811   {
00812     ;
00813   }

template<typename ExpType>
InstructionEvaluation< ExpType >::~InstructionEvaluation (  )  [inline]

Definition at line 815 of file Instruction.hpp.

00816   {
00817     ;
00818   }


Member Function Documentation

template<typename ExpType>
void InstructionEvaluation< ExpType >::execute (  )  [inline, virtual]

Implements Instruction.

Definition at line 796 of file Instruction.hpp.

References InstructionEvaluation< ExpType >::__expression.

00797   {
00798     __expression->execute();
00799   }

const Instruction::Type& Instruction::type (  )  const [inline, inherited]

Definition at line 81 of file Instruction.hpp.

References Instruction::__type.

00082   {
00083     return __type;
00084   }


Member Data Documentation

template<typename ExpType>
ReferenceCounting<ExpType> InstructionEvaluation< ExpType >::__expression [private]

Definition at line 793 of file Instruction.hpp.

Referenced by InstructionEvaluation< ExpType >::execute().

const Instruction::Type Instruction::__type [protected, inherited]

Definition at line 78 of file Instruction.hpp.

Referenced by Instruction::type().


The documentation for this class was generated from the following file:

Generated on Wed Nov 19 00:08:00 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6