Arty
Public Member Functions | List of all members
ArgParser Class Reference

Command line argument parser with ability to display the program usage. More...

#include <options.h>

Public Member Functions

 ArgParser (int argc, char **argv)
 
template<typename T >
void add_option (const std::string &full_name, const std::string &short_name, const std::string &desc, T &value, const T &default_value=T(), const std::string &arg_name=std::string())
 
bool parse ()
 
void usage () const
 
const std::vector< std::string > & arguments () const
 

Detailed Description

Command line argument parser with ability to display the program usage.


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