advgetopt 2.0.47
Parse complex command line arguments and configuration files in C++.
Classes | Namespaces | Functions | Variables
options.h File Reference

Definitions of the options class a initialization functions. More...

#include <advgetopt/option_info.h>
#include <advgetopt/conf_file.h>
#include <snapdev/not_used.h>
Include dependency graph for options.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  advgetopt::Alias
 
class  advgetopt::DefaultValue
 
class  advgetopt::EnvironmentVariableName
 
class  advgetopt::Flags
 
struct  advgetopt::group_description
 
class  advgetopt::GroupDescription
 
class  advgetopt::GroupName
 
class  advgetopt::GroupNumber
 
class  advgetopt::GroupValue< T >
 
class  advgetopt::Help
 
class  advgetopt::Name
 
struct  advgetopt::option
 Structure representing an option. More...
 
struct  advgetopt::options_environment
 
class  advgetopt::OptionValue< T >
 
class  advgetopt::Separators
 
class  advgetopt::ShortName
 
class  advgetopt::Validator
 

Namespaces

namespace  advgetopt
 The advgetopt environment to parse command line options.
 

Functions

template<class ... ARGS>
constexpr group_description advgetopt::define_group (ARGS ...args)
 
template<class ... ARGS>
constexpr option advgetopt::define_option (ARGS ...args)
 
constexpr group_description advgetopt::end_groups ()
 
constexpr option advgetopt::end_options ()
 
template<typename T , typename F , class ... ARGS>
constexpr std::enable_if< std::is_same< T, F >::value, typenameT::value_t >::type advgetopt::find_group (F first, ARGS ...args)
 
template<typename T , typename F , class ... ARGS>
constexpr std::enable_if<!std::is_same< T, F >::value, typenameT::value_t >::type advgetopt::find_group (F first, ARGS ...args)
 
template<typename T , typename F , class ... ARGS>
constexpr std::enable_if< std::is_same< T, F >::value, typenameT::value_t >::type advgetopt::find_option (F first, ARGS ...args)
 
template<typename T , typename F , class ... ARGS>
constexpr std::enable_if<!std::is_same< T, F >::value, typenameT::value_t >::type advgetopt::find_option (F first, ARGS ...args)
 

Variables

constexpr flag_t advgetopt::GETOPT_ENVIRONMENT_FLAG_AUTO_DONE = 0x0010
 
constexpr flag_t advgetopt::GETOPT_ENVIRONMENT_FLAG_DEBUG_SOURCE = 0x0008
 
constexpr flag_t advgetopt::GETOPT_ENVIRONMENT_FLAG_DYNAMIC_PARAMETERS = 0x0001
 
constexpr flag_t advgetopt::GETOPT_ENVIRONMENT_FLAG_PROCESS_SYSTEM_PARAMETERS = 0x0004
 
constexpr flag_t advgetopt::GETOPT_ENVIRONMENT_FLAG_SYSTEM_PARAMETERS = 0x0002
 

Detailed Description

The advgetopt library offers an advanced way to manage your command line tools options on the command line, in environment variables, and in configuration files.

Definition in file options.h.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.