InstructionAffectation< DataType, VarType > Class Template Reference

#include <Instruction.hpp>

Inheritance diagram for InstructionAffectation< DataType, VarType >:

Inheritance graph
[legend]
Collaboration diagram for InstructionAffectation< DataType, VarType >:

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 ()
 InstructionAffectation (const std::string &variableName, ReferenceCounting< DataType > e)
 InstructionAffectation (const InstructionAffectation< DataType, VarType > &I)
 ~InstructionAffectation ()
const Instruction::Typetype () const

Protected Attributes

const Instruction::Type __type

Private Attributes

std::string __variableName
ReferenceCounting< DataType > __expression


Detailed Description

template<typename DataType, typename VarType>
class InstructionAffectation< DataType, VarType >

Definition at line 640 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 DataType, typename VarType>
InstructionAffectation< DataType, VarType >::InstructionAffectation ( const std::string &  variableName,
ReferenceCounting< DataType >  e 
) [inline]

Definition at line 656 of file Instruction.hpp.

00658     : Instruction(Instruction::affectation),
00659       __variableName(variableName),
00660       __expression(e)
00661   {
00662     ;
00663   }

template<typename DataType, typename VarType>
InstructionAffectation< DataType, VarType >::InstructionAffectation ( const InstructionAffectation< DataType, VarType > &  I  )  [inline]

Definition at line 665 of file Instruction.hpp.

00666     : Instruction(I),
00667       __variableName(I.__variableName),
00668       __expression(I.__expression)
00669   {
00670     ;
00671   }

template<typename DataType, typename VarType>
InstructionAffectation< DataType, VarType >::~InstructionAffectation (  )  [inline]

Definition at line 673 of file Instruction.hpp.

00674   {
00675     ;
00676   }


Member Function Documentation

template<typename DataType, typename VarType>
void InstructionAffectation< DataType, VarType >::execute (  )  [inline, virtual]

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 DataType, typename VarType>
std::string InstructionAffectation< DataType, VarType >::__variableName [private]

template<typename DataType, typename VarType>
ReferenceCounting<DataType> InstructionAffectation< DataType, VarType >::__expression [private]

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:07:55 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6