Orbiter 2022
Combinatorial Objects
classification_of_objects_report_options.cpp
Go to the documentation of this file.
1/*
2 * classification_of_objects_report_options.cpp
3 *
4 * Created on: Dec 16, 2021
5 * Author: betten
6 */
7
8
9
10
11#include "foundations.h"
12
13using namespace std;
14
15
16namespace orbiter {
17namespace layer1_foundations {
18namespace combinatorics {
19
20
21
23{
25 //std::string prefix;
26
28
30
32
34
36
38 //std::string lex_least_geometry_builder;
39
40}
41
43{
44
45}
46
48 int argc, std::string *argv,
49 int verbose_level)
50{
51 int i;
53
54 cout << "classification_of_objects_report_options::read_arguments" << endl;
55 for (i = 0; i < argc; i++) {
56
57 cout << "classification_of_objects_report_options::read_arguments, next argument is " << argv[i] << endl;
58
59 if (ST.stringcmp(argv[i], "-prefix") == 0) {
60 f_prefix = TRUE;
61 prefix.assign(argv[++i]);
62 cout << "-prefix" << prefix << endl;
63 }
64 else if (ST.stringcmp(argv[i], "-export_flag_orbits") == 0) {
66 cout << "-export_flag_orbits" << endl;
67 }
68 else if (ST.stringcmp(argv[i], "-dont_export_flag_orbits") == 0) {
70 cout << "-export_flag_orbits" << endl;
71 }
72 else if (ST.stringcmp(argv[i], "-show_incidence_matrices") == 0) {
74 cout << "-show_incidence_matrices" << endl;
75 }
76 else if (ST.stringcmp(argv[i], "-dont_show_incidence_matrices") == 0) {
78 cout << "-dont_show_incidence_matrices" << endl;
79 }
80 else if (ST.stringcmp(argv[i], "-show_TDA") == 0) {
82 cout << "-show_TDA" << endl;
83 }
84 else if (ST.stringcmp(argv[i], "-dont_show_TDA") == 0) {
86 cout << "-dont_show_TDA" << endl;
87 }
88 else if (ST.stringcmp(argv[i], "-show_TDO") == 0) {
90 cout << "-show_TDO" << endl;
91 }
92 else if (ST.stringcmp(argv[i], "-dont_show_TDO") == 0) {
94 cout << "-dont_show_TDO" << endl;
95 }
96 else if (ST.stringcmp(argv[i], "-export_group") == 0) {
98 cout << "-export_group" << endl;
99 }
100 else if (ST.stringcmp(argv[i], "-dont_export_group") == 0) {
102 cout << "-dont_export_group" << endl;
103 }
104 else if (ST.stringcmp(argv[i], "-lex_least") == 0) {
106 lex_least_geometry_builder.assign(argv[++i]);
107 cout << "-lex_least" << lex_least_geometry_builder << endl;
108 }
109
110 else if (ST.stringcmp(argv[i], "-end") == 0) {
111 cout << "classification_of_objects_report_options::read_arguments -end" << endl;
112 break;
113 }
114
115 else {
116 cout << "classification_of_objects_report_options::read_arguments "
117 "unrecognized option " << argv[i] << endl;
118 exit(1);
119 }
120 cout << "classification_of_objects_report_options::read_arguments looping, i=" << i << endl;
121 } // next i
122 cout << "classification_of_objects_report_options::read_arguments done" << endl;
123 return i + 1;
124}
125
127{
128 if (f_prefix) {
129 cout << "-prefix " << prefix << endl;
130 }
132 cout << "-export_flag_orbits " << endl;
133 }
135 cout << "-show_incidence_matrices " << endl;
136 }
137 if (f_show_TDO) {
138 cout << "-show_TDO " << endl;
139 }
140 if (f_show_TDA) {
141 cout << "-show_TDA " << endl;
142 }
143 if (f_export_group) {
144 cout << "-export_group " << endl;
145 }
146 if (f_lex_least) {
147 cout << "-lex_least " << lex_least_geometry_builder << endl;
148 }
149
150}
151
152
153}}}
154
155
156
functions related to strings and character arrays
#define TRUE
Definition: foundations.h:231
#define FALSE
Definition: foundations.h:234
the orbiter library for the classification of combinatorial objects