ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
parser Class Referencefinal

Command-line parser implementation using boost program options. More...

#include <parser.hpp>

Collaboration diagram for parser:
Collaboration graph

Public Member Functions

std::optional< optionsparse (const std::vector< std::string > &arguments, std::ostream &info, std::ostream &error) const
 

Detailed Description

Command-line parser implementation using boost program options.

Note on logging: we are NOT logging any of the exceptions to the log in this class. This is by design. The logger is only initialised after the options have been parsed; were we to log prior to this, we would dump all the messages into the console. The output is very confusing for users that are accustomed to normal command line applications.