Public Member Functions | List of all members
CommandLineInterface Class Referenceabstract

CommandLineInterface. More...

#include <commandline_interface.h>

Public Member Functions

virtual bool opt_exist (std::string key)=0
 Does a key exist?
virtual std::string get_opt (std::string key)=0
 Get an option by key.
virtual std::string get_program_name ()=0
 Get the program name. More...

Detailed Description


Here we create a new interpreter by passing in the two arguments from the main method, int argc & char* argv[]. This parses arguments passed in the form: arg_key=arg_val

Member Function Documentation

virtual std::string CommandLineInterface::get_program_name ( )
pure virtual

Get the program name.

Get the name of the executable currently being run.

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