OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
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
6#include <memory>
7#include <vector>
8
9namespace mslang {
10 struct Translation: public Function {
12 double shiftx_m;
13 double shifty_m;
14
15 virtual ~Translation() {
16 delete func_m;
17 }
18
19 virtual void print(int indentwidth);
20 void applyTranslation(std::vector<std::shared_ptr<Base> > &bfuncs);
21 virtual void apply(std::vector<std::shared_ptr<Base> > &bfuncs);
22 static bool parse_detail(iterator &it, const iterator &end, Function* &fun);
23 };
24}
25
26#endif
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
std::string::iterator iterator
Definition MSLang.h:13
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
void applyTranslation(std::vector< std::shared_ptr< Base > > &bfuncs)
virtual ~Translation()
Definition Translation.h:15
virtual void print(int indentwidth)
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)