MolSim
Loading...
Searching...
No Matches
Namespaces | Functions
CLIParser.h File Reference

Command line argument parsing functions. More...

#include "utils/Arguments.h"

Go to the source code of this file.

Namespaces

namespace  CLIParser
 Namespace defining functions for parsing command line arguments.
 

Functions

void CLIParser::checkArgc (int argc)
 Checks if there are enough arguments passed through the command line interface.
 
void CLIParser::checkHelpString (int argc, char **argv)
 Checks if the help option '-h' is passed anywhere.
 
void CLIParser::checkValidity (const Arguments &args)
 Checks the mathematical validity of the given arguments.
 
void CLIParser::setDefaults (Arguments &args)
 Sets default values for uninitialized Argument attributes based on the chosen Simulation type.
 
void CLIParser::parseArguments (int argc, char **argv, Arguments &args)
 Parses and store CLI arguments in an Arguments struct.
 

Detailed Description

Command line argument parsing functions.

Date
2024-10-21