option_parser.h File Reference
#include <string>
#include <sstream>
#include <vector>
#include "interop/util/exception.h"
#include "interop/util/unique_ptr.h"

Go to the source code of this file.

Classes

class  abstract_option
 
class  option_exception
 
class  invalid_option_value_exception
 
class  invalid_option_exception
 
class  value_container< T >
 
class  value_container< R(T::*)(P1) >
 
class  option< T >
 
class  option_parser
 

Namespaces

 illumina
 
 illumina::interop
 
 illumina::interop::util
 

Functions

template<typename T , typename R , typename P1 >
value_container< R(T::*)(P1) > wrap_setter (T &obj, R(T::*func)(P1))
 

Detailed Description

Simple command line option parser

This parser handles options of the form --option-name=option-value and skips any option not prefixed with --. Any option it does find will be removed from the list of command line arguments.

Date
7/3/16
Version
1.0