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