TDMS
Time Domain Maxwell Solver
All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
ArgumentParser Class Reference

Performs the argument parsing and returns an ArgumentNamespace. More...

#include <argument_parser.h>

Static Public Member Functions

static ArgumentNamespace parse_args (int n_args, char *arg_ptrs[])
 Parse the command line arguments and perform relevant actions.
 

Static Private Member Functions

static void print_help_message ()
 
static void print_version ()
 

Detailed Description

Performs the argument parsing and returns an ArgumentNamespace.

Member Function Documentation

◆ parse_args()

ArgumentNamespace ArgumentParser::parse_args ( int  n_args,
char *  arg_ptrs[] 
)
static

Parse the command line arguments and perform relevant actions.

Parameters
n_argsThe number of arguments (argc)
arg_ptrsPointers to to the arguments (argv)
Returns
ArgumentNamespace populated with options

◆ print_help_message()

void ArgumentParser::print_help_message ( )
staticprivate

Prints the help message (all options).

◆ print_version()

void ArgumentParser::print_version ( )
staticprivate

Prints the version of the compiled executable.


The documentation for this class was generated from the following files: