Class CmdSettings

Class Documentation

class CmdSettings

Class for generating the settings from the command line arguments.

Public Functions

CmdSettings()

Constructor: it declares the available cmd arguments.

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

UserSettings getSettings() const