OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
Translation.h
Go to the documentation of this file.
1#ifndef MSLANG_TRANSLATE_H
2#define MSLANG_TRANSLATE_H
3
4#include "Utilities/MSLang.h"
5
6namespace mslang {
7 struct Translation: public Function {
9 double shiftx_m;
10 double shifty_m;
11
12 virtual ~Translation() {
13 delete func_m;
14 }
15
16 virtual void print(int indentwidth);
17 void applyTranslation(std::vector<std::shared_ptr<Base> > &bfuncs);
18 virtual void apply(std::vector<std::shared_ptr<Base> > &bfuncs);
19 static bool parse_detail(iterator &it, const iterator &end, Function* &fun);
20 };
21}
22
23#endif
PartBunch< T, Dim >::ConstIterator end(PartBunch< T, Dim > const &bunch)
std::string::iterator iterator
Definition MSLang.h:15
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
void applyTranslation(std::vector< std::shared_ptr< Base > > &bfuncs)
virtual ~Translation()
Definition Translation.h:12
virtual void print(int indentwidth)
Function * func_m
Definition Translation.h:8
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)