OGS
CommandLineArgumentParser.h
Go to the documentation of this file.
1
13
#include <string>
14
#include <vector>
15
16
#pragma once
17
18
struct
CommandLineArguments
final
19
{
20
std::string
reference_path
;
21
std::string
project
;
22
std::vector<std::string>
xml_patch_file_names
;
23
std::string
outdir
;
24
std::string
mesh_dir
;
25
std::string
script_dir
;
26
std::string
log_level
;
27
bool
write_prj
;
28
bool
nonfatal
;
29
bool
reference_path_is_set
;
30
#ifndef _WIN32
31
bool
enable_fpe_is_set
;
32
#endif
// _WIN32
33
};
34
35
CommandLineArguments
parseCommandLineArguments
(
36
int
argc,
char
* argv[],
bool
const
exit_on_exception =
true
);
parseCommandLineArguments
CommandLineArguments parseCommandLineArguments(int argc, char *argv[], bool const exit_on_exception=true)
Definition
CommandLineArgumentParser.cpp:21
CommandLineArguments
Definition
CommandLineArgumentParser.h:19
CommandLineArguments::reference_path_is_set
bool reference_path_is_set
Definition
CommandLineArgumentParser.h:29
CommandLineArguments::script_dir
std::string script_dir
Definition
CommandLineArgumentParser.h:25
CommandLineArguments::nonfatal
bool nonfatal
Definition
CommandLineArgumentParser.h:28
CommandLineArguments::outdir
std::string outdir
Definition
CommandLineArgumentParser.h:23
CommandLineArguments::reference_path
std::string reference_path
Definition
CommandLineArgumentParser.h:20
CommandLineArguments::log_level
std::string log_level
Definition
CommandLineArgumentParser.h:26
CommandLineArguments::xml_patch_file_names
std::vector< std::string > xml_patch_file_names
Definition
CommandLineArgumentParser.h:22
CommandLineArguments::project
std::string project
Definition
CommandLineArgumentParser.h:21
CommandLineArguments::enable_fpe_is_set
bool enable_fpe_is_set
Definition
CommandLineArgumentParser.h:31
CommandLineArguments::write_prj
bool write_prj
Definition
CommandLineArgumentParser.h:27
CommandLineArguments::mesh_dir
std::string mesh_dir
Definition
CommandLineArgumentParser.h:24
Applications
CLI
CommandLineArgumentParser.h
Generated by
1.10.0