goptions
goptionsConventions.h
Go to the documentation of this file.
1 #ifndef GOPTIONS_CONVENTIONS_H
2 #define GOPTIONS_CONVENTIONS_H 1
3 
4 #define HELPFILLSPACE " "
5 
6 // standardizing verbosity
7 #define GVERBOSITY_SUMMARY 1 // prints only summary message
8 #define GVERBOSITY_DETAILS 2 // print all details
9 #define GVERBOSITY_CLASSES 3 // print all details and class constructors / destructors messages
10 #define GVERBOSITY_DESCRIPTION "Possible values: 0: shush; 1: summary; 2: details; 3: everything"
11 
12 #define GVERSION_STRING "version"
13 
14 // exit codes: 100s
15 #define EC__NOOPTIONFOUND 101
16 #define EC__DEFINED_OPTION_ALREADY_PRESENT 102
17 #define EC__DEFINED_SWITCHALREADYPRESENT 103
18 #define EC__YAML_PARSING_ERROR 104
19 #define EC__MANDATORY_NOT_FILLED 105
20 
21 
22 #include <string>
23 namespace goptions {
24  const std::string NODFLT = "NODFLT";
25 
26 }
27 
28 
29 #endif
const std::string NODFLT