5 #include "CORE_Object.h"
9 #include "CORE_OptionsList.h"
70 static inline CORE_UniquePointer<CORE_Options>
New() {
71 return CORE_UniquePointer<CORE_Options>(
new CORE_Options(),
87 options.
setManOption(
"args",
"command",
"command of the program by loading the default option file 'input'");
88 options.
setManOption(
"args",
"options",
"name of the file of the arguments");
89 options.
setManOption(
"args",
"is-options-name-case-sensitive",
",name of the options is case sensitive");
92 options.
setManOption(
"io",
"current-path",
"the current path");
93 options.
setManOption(
"io",
"prefix",
"the default prefix for reading/writing file");
95 options.
setManOption(
"io",
"output-path",
"the path to generate outputs");
96 options.
setManOption(
"io",
"output-prefix",
"the prefix of the output files");
97 options.
setManOption(
"io",
"output-file",
"the output file to test the results");
99 options.
setManOption(
"io",
"input-path",
"the path to read the inputs ");
100 options.
setManOption(
"io",
"input-prefix",
"the prefix of the input files");
103 options.
setManOption(
"log",
"log",
"{no,screen,file,string,all} output for message");
104 options.
setManOption(
"log",
"log-file",
"the name of the log file");
105 options.
setManOption(
"log",
"log-file-mode",
"{create|append} create or append to a new file for log printing");
110 options.
setManOption(
"debug",
"check-memory",
"{true|false} print the object not destroyed at exit");
111 options.
setManOption(
"debug",
"reference-path",
"the path to store reference file for code validation");
112 options.
setManOption(
"debug",
"eps",
"admissive error for code validation");
113 options.
setManOption(
"debug",
"verbose",
"type of verbose");
114 options.
setManOption(
"debug",
"is-profiling-printed",
"true to print the profiled called routines if program compiled with -DUSE_PROFILER");
116 options.
setManOption(
"test",
"test",
"type of test to run in {primary|elementary|case|all}");
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
abstract base class for most classes.
Definition: CORE_Object.h:65
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class is an list of options.
Definition: CORE_OptionsList.h:36
void setOptionValue(const tString &optName, const tBoolean &value)
set option
Definition: CORE_OptionsList.h:194
void setManOption(const tString &category, const tString &optName, const tString &man)
set man option
Definition: CORE_OptionsList.h:187
This class is the options of the runner.
Definition: CORE_Options.h:21
virtual void initManOptions(CORE_OptionsList &options) const
init the man of the options
Definition: CORE_Options.h:83
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: CORE_Options.h:59
virtual ~CORE_Options(void)
destroy class instance
Definition: CORE_Options.h:38
CORE_Options(void)
create class instance
Definition: CORE_Options.h:32
static CORE_UniquePointer< CORE_Options > New()
return a new unique pointer of this
Definition: CORE_Options.h:70
virtual void initOptions(CORE_OptionsList &options) const
default initialization of the options
Definition: CORE_Options.h:123