OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
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 Difference(const Difference& right)
14 : dividend_m(right.dividend_m), divisor_m(right.divisor_m) {}
15
16 virtual ~Difference() {
17 delete dividend_m;
18 delete divisor_m;
19 }
20
21 virtual void print(int indentwidth);
22 virtual void apply(std::vector<std::shared_ptr<Base> >& bfuncs);
23 static bool parse_detail(iterator& it, const iterator& end, Function*& fun);
24 };
25} // namespace mslang
26
27#endif
std::string::iterator iterator
Definition MSLang.h:14
Function * dividend_m
Definition Difference.h:8
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
Function * divisor_m
Definition Difference.h:9
virtual ~Difference()
Definition Difference.h:16
Difference(const Difference &right)
Definition Difference.h:13
virtual void print(int indentwidth)
Definition Difference.cpp:6
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)