MolSim
Loading...
Searching...
No Matches
CLIParser.h
Go to the documentation of this file.
1
9#pragma once
10#include "utils/Arguments.h"
11
13namespace CLIParser {
22void checkArgc(int argc);
23
34void checkHelpString(int argc, char **argv);
35
41void checkValidity(const Arguments &args);
42
49
57void parseArguments(int argc, char **argv, Arguments &args);
58} // namespace CLIParser
Configurable program and simulation arguments.
Namespace defining functions for parsing command line arguments.
Definition CLIParser.h:13
void checkValidity(const Arguments &args)
Checks the mathematical validity of the given arguments.
void checkArgc(int argc)
Checks if there are enough arguments passed through the command line interface.
void setDefaults(Arguments &args)
Sets default values for uninitialized Argument attributes based on the chosen Simulation type.
void parseArguments(int argc, char **argv, Arguments &args)
Parses and store CLI arguments in an Arguments struct.
void checkHelpString(int argc, char **argv)
Checks if the help option '-h' is passed anywhere.
Struct containing each option configurable via command line arguments.
Definition Arguments.h:31