Class CmdSettings

Class Documentation

class CmdSettings

Class for generating the settings from the command line arguments.

Public Functions

inline CmdSettings()

Constructor: it declares the available cmd arguments.

inline void parse(int argc, char *argv[])

Perform the actual reading from the user input.

Parameters:
  • argc – Number of arguments provided to the program

  • argv – Array of arguments provided to the program

inline UserSettings getSettings() const