advgetopt 2.0.49
Parse complex command line arguments and configuration files in C++.
Namespaces | Typedefs | Functions | Variables
flags.h File Reference

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

#include <cstdint>
Include dependency graph for flags.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  advgetopt
 The advgetopt environment to parse command line options.
 

Typedefs

typedef std::uint32_t advgetopt::flag_t
 

Functions

template<flag_t ... args>
constexpr flag_t advgetopt::all_flags ()
 
template<flag_t ... args>
constexpr flag_t advgetopt::any_flags ()
 
template<flag_t flag, flag_t ... args>
constexpr flag_t advgetopt::combine_option_flags ()
 
template<flag_t ... args>
constexpr flag_t advgetopt::command_flags ()
 
template<flag_t ... args>
constexpr flag_t advgetopt::config_flags ()
 
constexpr flag_t advgetopt::end_flags ()
 
template<flag_t ... args>
constexpr flag_t advgetopt::option_flags ()
 
template<class none = void>
constexpr flag_t advgetopt::option_flags_merge ()
 
template<flag_t flag, flag_t ... args>
constexpr flag_t advgetopt::option_flags_merge ()
 
template<flag_t ... args>
constexpr flag_t advgetopt::standalone_all_flags ()
 
template<flag_t ... args>
constexpr flag_t advgetopt::standalone_command_flags ()
 
template<flag_t ... args>
constexpr flag_t advgetopt::var_flags ()
 

Variables

static constexpr flag_t advgetopt::GETOPT_FLAG_ALIAS = static_cast<flag_t>(0x00000010)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_ARRAY = static_cast<flag_t>(0x00000800)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_COMMAND_LINE = static_cast<flag_t>(0x00000001)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_CONFIGURATION_FILE = static_cast<flag_t>(0x00000004)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_DEFAULT_OPTION = static_cast<flag_t>(0x00000100)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_DYNAMIC = static_cast<flag_t>(0x20000000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_DYNAMIC_CONFIGURATION = static_cast<flag_t>(0x00000008)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_END = static_cast<flag_t>(0x80000000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_ENVIRONMENT_VARIABLE = static_cast<flag_t>(0x00000002)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_FLAG = static_cast<flag_t>(0x00000020)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_COMMANDS = static_cast<flag_t>(0x00100000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_FIVE = static_cast<flag_t>(0x00500000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_FOUR = static_cast<flag_t>(0x00400000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_MASK = static_cast<flag_t>(0x00700000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_MAXIMUM = static_cast<flag_t>(7)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_MINIMUM = static_cast<flag_t>(0)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_NONE = static_cast<flag_t>(0x00000000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_OPTIONS = static_cast<flag_t>(0x00200000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_SEVEN = static_cast<flag_t>(0x00700000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_SHIFT = static_cast<flag_t>(20)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_SIX = static_cast<flag_t>(0x00600000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_GROUP_THREE = static_cast<flag_t>(0x00300000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_HAS_DEFAULT = static_cast<flag_t>(0x00000200)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_LOCK = static_cast<flag_t>(0x40000000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_MULTIPLE = static_cast<flag_t>(0x00000080)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_NONE = static_cast<flag_t>(0x00000000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_PROCESS_VARIABLES = static_cast<flag_t>(0x00000400)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_REQUIRED = static_cast<flag_t>(0x00000040)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_SHOW_ALL = static_cast<flag_t>(0x00002000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_SHOW_GROUP1 = static_cast<flag_t>(0x00004000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_SHOW_GROUP2 = static_cast<flag_t>(0x00008000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_SHOW_MOST = static_cast<flag_t>(0x00000000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_SHOW_SYSTEM = static_cast<flag_t>(0x00010000)
 
static constexpr flag_t advgetopt::GETOPT_FLAG_SHOW_USAGE_ON_ERROR = static_cast<flag_t>(0x00001000)
 

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 flags.h.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.