rsvs3D  0.0.0
Codes for the c++ implementation of the 3D RSVS
main.hpp
Go to the documentation of this file.
1 
6 #ifndef MAIN_H_INCLUDED
7 #define MAIN_H_INCLUDED
8 
9 //=================================
10 // forward declared dependencies
11 // class foo; //when you only need a pointer not the actual object
12 // and to avoid circular dependencies
13 
14 namespace param
15 {
16 class parameters;
17 }
18 namespace parse
19 {
20 class ParserOutput;
21 }
22 //=================================
23 // included dependencies
24 
25 #include <string>
26 #include <vector>
27 //=================================
28 // Code
29 //
30 // This file defines parameters to be used in other parts of the
31 // RSVS snaking framework. Default values are defined in "parameters.cpp"
32 //
33 // Substructure names are all 4-5 letters
34 
35 int RSVSExecution(int argc, char *argv[]);
36 void NoExecution(parse::ParserOutput &parseOut, param::parameters &paramconf);
37 void ExecuteTests(const parse::ParserOutput &parseOut);
38 #ifdef LIB_RSVS
39 int main_rsvs3d(int argc, char *argv[]);
40 #endif
41 namespace parse
42 {
43 
45 {
46  public:
47  int execFlow = 0;
48  bool isHeadless = false;
49  std::string paramFileOut = "noexec_config.json";
50  std::string testCase = "";
51 };
52 
53 ParserOutput CommandLineParser(int argc, char *argv[], param::parameters &paramconf);
54 ParserOutput StringParser(std::vector<std::string> &commands, param::parameters &paramconf);
55 namespace config
56 {
57 void useconfig(const std::string &confCase, param::parameters &paramconf);
58 void loadconfig(const std::string &confCase, param::parameters &paramconf);
59 
60 } // namespace config
61 } // namespace parse
62 #endif
Root class for all the parameters.
Definition: parameters.hpp:288
ParserOutput CommandLineParser(int argc, char *argv[], param::parameters &paramconf)
Takes in the command line arguments and returns an integer specifying the execution flow of the rest ...
Definition: main.cpp:143
Namespace containing the parameter classes used to control execution of the 3D-RSVS program.
Definition: main.hpp:15