#include "value.h"#include "detail/refcountable.h"#include <iosfwd>#include <set>#include <map>#include <vector>#include <stdexcept>#include <memory>#include <cstdio>

Go to the source code of this file.
Classes | |
| struct | ProgramOptions::DefaultFormat |
| Default formatting for options. More... | |
| struct | ProgramOptions::FileWriter |
| Writes formatted option descriptions to a FILE. More... | |
| class | ProgramOptions::Option |
| Represents one program option. More... | |
| class | ProgramOptions::OptionContext |
| A (logically grouped) list of unique options. More... | |
| class | ProgramOptions::OptionGroup |
| A list of options logically grouped under a caption. More... | |
| class | ProgramOptions::OptionInitHelper |
| class | ProgramOptions::OptionOutput |
| Base class for printing options. More... | |
| class | ProgramOptions::OptionOutputImpl< Writer, Formatter > |
| Implementation class for printing options. More... | |
| class | ProgramOptions::OptionParser |
| Base class for options parsers. More... | |
| struct | ProgramOptions::OstreamWriter |
| Writes formatted option descriptions to an std::ostream. More... | |
| class | ProgramOptions::ParseContext |
| class | ProgramOptions::ParsedOptions |
| Set of options holding a parsed value. More... | |
| class | ProgramOptions::ParsedValues |
| struct | ProgramOptions::StringWriter |
| Writes formatted option descriptions to an std::string. More... | |
Namespaces | |
| namespace | ProgramOptions |
Typedefs | |
| typedef OptionOutputImpl < FileWriter > | ProgramOptions::FileOut |
| typedef bool(* | ProgramOptions::PosOption )(const std::string &, std::string &) |
| typedef detail::IntrusiveSharedPtr < Option > | ProgramOptions::SharedOptPtr |
| typedef OptionOutputImpl < OstreamWriter > | ProgramOptions::StreamOut |
| typedef OptionOutputImpl < StringWriter > | ProgramOptions::StringOut |
Enumerations | |
| enum | ProgramOptions::CommandLineFlags { ProgramOptions::command_line_allow_flag_value = 1u } |
Functions | |
| ParsedValues | ProgramOptions::parseCfgFile (std::istream &is, const OptionContext &o, bool allowUnregistered) |
| ParsedValues | ProgramOptions::parseCommandLine (int &argc, char **argv, const OptionContext &ctx, bool allowUnregistered=true, PosOption posParser=0, unsigned flags=0) |
| ParseContext & | ProgramOptions::parseCommandLine (int &argc, char **argv, ParseContext &ctx, unsigned flags=0) |
| ParsedValues | ProgramOptions::parseCommandString (const std::string &cmd, const OptionContext &ctx, bool allowUnreg=false, PosOption posParser=0, unsigned flags=command_line_allow_flag_value) |
| ParseContext & | ProgramOptions::parseCommandString (const char *cmd, ParseContext &ctx, unsigned flags=command_line_allow_flag_value) |