OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Difference.h
Go to the documentation of this file.
1#ifndef MSLANG_DIFFERENCE_H
2#define MSLANG_DIFFERENCE_H
3
4#include "Utilities/MSLang.h"
5
6namespace mslang {
7 struct Difference: public Function {
10
12 { }
13
14 Difference(const Difference &right):
16 divisor_m(right.divisor_m)
17 { }
18
19 virtual ~Difference() {
20 delete dividend_m;
21 delete divisor_m;
22 }
23
24 virtual void print(int indentwidth);
25 virtual void apply(std::vector<std::shared_ptr<Base> > &bfuncs);
26 static bool parse_detail(iterator &it, const iterator &end, Function* &fun);
27 };
28}
29
30#endif
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
std::string::iterator iterator
Definition: MSLang.h:16
Function * dividend_m
Definition: Difference.h:8
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
Definition: Difference.cpp:16
Function * divisor_m
Definition: Difference.h:9
virtual ~Difference()
Definition: Difference.h:19
Difference(const Difference &right)
Definition: Difference.h:14
virtual void print(int indentwidth)
Definition: Difference.cpp:6
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
Definition: Difference.cpp:32