OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
Rotation.h
Go to the documentation of this file.
1#ifndef MSLANG_ROTATION_H
2#define MSLANG_ROTATION_H
3
4#include "Utilities/MSLang.h"
5
6namespace mslang {
7 struct Rotation : public Function {
9 double angle_m;
10
11 virtual ~Rotation() { delete func_m; }
12
13 virtual void print(int indentwidth);
14 void applyRotation(std::vector<std::shared_ptr<Base> >& bfuncs);
15 virtual void apply(std::vector<std::shared_ptr<Base> >& bfuncs);
16 static bool parse_detail(iterator& it, const iterator& end, Function*& fun);
17 };
18} // namespace mslang
19
20#endif
std::string::iterator iterator
Definition MSLang.h:14
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
Definition Rotation.cpp:36
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
Definition Rotation.cpp:31
virtual ~Rotation()
Definition Rotation.h:11
void applyRotation(std::vector< std::shared_ptr< Base > > &bfuncs)
Definition Rotation.cpp:16
virtual void print(int indentwidth)
Definition Rotation.cpp:8
double angle_m
Definition Rotation.h:9
Function * func_m
Definition Rotation.h:8