605 |
} |
} |
606 |
}; |
}; |
607 |
|
|
608 |
|
class FunctionExpression; |
609 |
|
class FunctionExpressionFEM; |
610 |
|
template<> |
611 |
|
class InstructionAffectation<FunctionExpressionFEM, FunctionVariable> |
612 |
|
: public Instruction |
613 |
|
{ |
614 |
|
private: |
615 |
|
ReferenceCounting<FunctionVariable> __variable; |
616 |
|
ReferenceCounting<FunctionExpression> __expression; |
617 |
|
|
618 |
|
public: |
619 |
|
void execute(); |
620 |
|
|
621 |
|
InstructionAffectation(ReferenceCounting<FunctionVariable> v, |
622 |
|
ReferenceCounting<FunctionExpression> e) |
623 |
|
: Instruction(Instruction::affectation), |
624 |
|
__variable(v), |
625 |
|
__expression(e) |
626 |
|
{ |
627 |
|
; |
628 |
|
} |
629 |
|
|
630 |
|
InstructionAffectation(const InstructionAffectation<FunctionExpressionFEM, |
631 |
|
FunctionVariable>& I) |
632 |
|
: Instruction(I), |
633 |
|
__variable(I.__variable), |
634 |
|
__expression(I.__expression) |
635 |
|
{ |
636 |
|
; |
637 |
|
} |
638 |
|
|
639 |
|
~InstructionAffectation() |
640 |
|
{ |
641 |
|
; |
642 |
|
} |
643 |
|
}; |
644 |
|
|
645 |
|
|
646 |
template<typename ExpType> |
template<typename ExpType> |