SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
av_parser.hpp File Reference

Command line option parser. More...

Go to the source code of this file.

Classes

struct  shore::opt_base
 Helper for av_parser. More...
 
struct  shore::opt_base1< T >
 Helper for av_parser. More...
 
struct  shore::opt_base2< T >
 Helper for av_parser. More...
 
struct  shore::av_option< T >
 Helper for av_parser. More...
 
class  shore::av_parser
 Command line option parser. More...
 
struct  shore::av_parser::usage_error
 Thrown to indicate a mistake by the user, to trigger displaying the usage page. More...
 
struct  shore::av_option< std::pair< T, U > >
 Helper for av_parser. More...
 
struct  shore::av_option< std::vector< T > >
 Helper for av_parser. More...
 
struct  shore::av_option< std::set< T > >
 Helper for av_parser. More...
 
struct  shore::av_option< std::vector< std::vector< T > > >
 Helper for av_parser. More...
 
struct  shore::av_option< bool >
 Helper for av_parser. More...
 
struct  shore::av_option< unary >
 Helper for av_parser. More...
 

Namespaces

 shore
 SHORE core API.
 

Constant Groups

 shore
 SHORE core API.
 

Enumerations

enum  shore::OptionFlags { shore::OPT_NOTSET, shore::OPT_SET, shore::OPT_AUTO, shore::OPT_MANDATORY }
 Different types of command line options. More...
 

Functions

template<typename T >
std::string shore::typestr (const T *const value, typename boost::disable_if< boost::is_integral< T > >::type *dummy_int=0, typename boost::disable_if< boost::is_float< T > >::type *dummy_float=0)
 
template<typename T >
std::string shore::typestr (const T *const value, typename boost::enable_if< boost::is_integral< T > >::type *dummy_int=0)
 
template<typename T >
std::string shore::typestr (const T *const value, typename boost::enable_if< boost::is_float< T > >::type *dummy_float=0)
 
std::string shore::typestr (const char *value)
 
template<typename T >
std::string shore::typestr (const shore::relabs< T > *const value)
 
template<typename T >
std::string shore::typestr (const std::vector< T > *const value)
 
template<typename T >
std::string shore::typestr (const std::vector< std::vector< T > > *const value)
 
template<typename T >
std::string shore::typestr (const std::set< T > *const value)
 

Detailed Description

Command line option parser.

Author
Felix Ott