Inter4ql  5.2
Program.h
1 #ifndef __PROGRAM_H__
2 #define __PROGRAM_H__
3 
4 #include <string>
5 #include <vector>
6 
7 namespace Inter4ql {
8 
9  class ModuleGeneric;
10 
13  class Program {
14  public:
19  explicit Program(std::vector<ModuleGeneric *> *_modules);
23  ~Program();
28  std::string print();
33  std::vector<ModuleGeneric *> *get_modules();
38  void set_order(std::vector<ModuleGeneric *> *_order);
43  std::vector<ModuleGeneric *> *get_order();
44  private:
45  std::vector<ModuleGeneric *> *modules;
46  std::vector<ModuleGeneric *> *modules_order;
47 
48  };
49 }
50 
51 #endif /* __PROGRAM_H__ */
52 
Definition: Application.cc:37
Program(std::vector< ModuleGeneric *> *_modules)
constructor
Definition: Program.cc:38
void set_order(std::vector< ModuleGeneric *> *_order)
setter for reasoning order vector
Definition: Program.cc:105
std::vector< ModuleGeneric * > * get_modules()
getter for local modules
Definition: Program.cc:101
~Program()
destructor
Definition: Program.cc:86
std::string print()
returns string with program information
Definition: Program.cc:94
std::vector< ModuleGeneric * > * get_order()
getter for reasoning order vector
Definition: Program.cc:110
class that handles 4QL programs
Definition: Program.h:13