args
6.2.0
A simple single-header C++11 STL-only argument parser library
|
This is the complete list of members for args::ArgumentParser, including all inherited members.
Add(Base &child) | args::Group | inline |
AddCompletion(CompletionFlag &completionFlag) (defined in args::ArgumentParser) | args::ArgumentParser | inline |
AddCompletionReply(const std::string &cur, const std::string &choice) (defined in args::ArgumentParser) | args::ArgumentParser | inlineprotected |
ArgumentParser(const std::string &description_, const std::string &epilog_=std::string()) (defined in args::ArgumentParser) | args::ArgumentParser | inline |
Base(const std::string &help_, Options options_={}) (defined in args::Base) | args::Base | inline |
Children() const | args::Group | inline |
Command()=default (defined in args::Command) | args::Command | protected |
Command(Group &base_, std::string name_, std::string help_, std::function< void(Subparser &)> coroutine_={}) (defined in args::Command) | args::Command | inline |
Complete(FlagBase &flag, It it, It end) (defined in args::ArgumentParser) | args::ArgumentParser | inlineprotected |
Complete(It it, It end) (defined in args::ArgumentParser) | args::ArgumentParser | inlineprotected |
Description() const | args::Command | inline |
Description(const std::string &description_) | args::Command | inline |
Epilog() const | args::Command | inline |
Epilog(const std::string &epilog_) | args::Command | inline |
Get() const | args::Group | inline |
GetAllFlags() override (defined in args::Command) | args::Command | inlinevirtual |
GetArgumentSeparations(bool &allowJoinedShortValue_, bool &allowJoinedLongValue_, bool &allowSeparateShortValue_, bool &allowSeparateLongValue_) const | args::ArgumentParser | inline |
GetCommandProgramLine(const HelpParams ¶ms) const (defined in args::Command) | args::Command | inline |
GetCommands() override (defined in args::Command) | args::Command | inlinevirtual |
GetCoroutine() (defined in args::Command) | args::Command | inlineprotected |
GetDescription(const HelpParams ¶ms, const unsigned int indent) const override | args::Command | inlinevirtual |
GetDescription(const HelpParams &, const unsigned indentLevel) const (defined in args::Base) | args::Base | inlinevirtual |
GetNextPositional() override | args::Command | inlinevirtual |
GetOptions() const noexcept (defined in args::Base) | args::Base | inline |
GetProgramLine(const HelpParams ¶ms) const override | args::Command | inlinevirtual |
Group(const std::string &help_=std::string(), const std::function< bool(const Group &)> &validator_=Validators::DontCare, Options options_={}) | args::Group | inline |
Group(Group &group_, const std::string &help_=std::string(), const std::function< bool(const Group &)> &validator_=Validators::DontCare, Options options_={}) | args::Group | inline |
HasCommand() const override | args::Command | inlinevirtual |
HasFlag() const override | args::Command | inlinevirtual |
HasPositional() const override | args::Command | inlinevirtual |
Help(std::ostream &help_) const | args::ArgumentParser | inline |
Help() const | args::ArgumentParser | inline |
helpParams (defined in args::ArgumentParser) | args::ArgumentParser | |
IsGroup() const override (defined in args::Command) | args::Command | inlinevirtual |
IsRequired() const noexcept (defined in args::Base) | args::Base | inline |
KickOut(bool kickout_) noexcept | args::Base | inline |
KickOut() const noexcept | args::Base | inline |
LongPrefix() const | args::ArgumentParser | inline |
LongPrefix(const std::string &longprefix_) | args::ArgumentParser | inline |
LongSeparator() const | args::ArgumentParser | inline |
LongSeparator(const std::string &longseparator_) | args::ArgumentParser | inline |
Match() noexcept (defined in args::Command) | args::Command | inline |
Match(const EitherFlag &flag) override | args::Command | inlinevirtual |
matched (defined in args::Base) | args::Base | protected |
Matched() const noexcept override | args::Command | inlinevirtual |
MatchedChildren() const | args::Group | inline |
Name() const | args::Command | inline |
operator bool() const noexcept (defined in args::Command) | args::Command | inline |
OptionType enum name (defined in args::ArgumentParser) | args::ArgumentParser | protected |
Parse(It begin, It end) (defined in args::ArgumentParser) | args::ArgumentParser | inlineprotected |
ParseArgs(It begin, It end) | args::ArgumentParser | inline |
ParseArgs(const T &args) -> decltype(std::begin(args)) | args::ArgumentParser | inline |
ParseArgsValues(FlagBase &flag, const std::string &arg, It &it, It end, const bool allowSeparate, const bool allowJoined, const bool hasJoined, const std::string &joinedArg, const bool canDiscardJoined, std::vector< std::string > &values) | args::ArgumentParser | inlineprotected |
ParseCLI(const int argc, const char *const *argv) | args::ArgumentParser | inline |
ParseCLI(const T &args) (defined in args::ArgumentParser) | args::ArgumentParser | inline |
ParseLong(It &it, It end) (defined in args::ArgumentParser) | args::ArgumentParser | inlineprotected |
ParseOption(const std::string &s, bool allowEmpty=false) (defined in args::ArgumentParser) | args::ArgumentParser | inlineprotected |
ParseShort(It &it, It end) (defined in args::ArgumentParser) | args::ArgumentParser | inlineprotected |
Prog() const | args::ArgumentParser | inline |
Prog(const std::string &prog_) | args::ArgumentParser | inline |
ProglinePostfix() const | args::Command | inline |
ProglinePostfix(const std::string &proglinePostfix_) | args::Command | inline |
RequireCommand(bool value) | args::Command | inline |
Reset() noexcept override (defined in args::ArgumentParser) | args::ArgumentParser | inlinevirtual |
SelectCommand(Command *c) noexcept (defined in args::Command) | args::Command | inline |
SelectedCommand() (defined in args::Command) | args::Command | inlineprotected |
SelectedCommand() const (defined in args::Command) | args::Command | inlineprotected |
SetArgumentSeparations(const bool allowJoinedShortValue_, const bool allowJoinedLongValue_, const bool allowSeparateShortValue_, const bool allowSeparateLongValue_) | args::ArgumentParser | inline |
ShortPrefix() const | args::ArgumentParser | inline |
ShortPrefix(const std::string &shortprefix_) | args::ArgumentParser | inline |
Subparser (defined in args::ArgumentParser) | args::ArgumentParser | friend |
Terminator() const | args::ArgumentParser | inline |
Terminator(const std::string &terminator_) | args::ArgumentParser | inline |
UpdateSubparserHelp(const HelpParams ¶ms) const (defined in args::Command) | args::Command | inlineprotected |
Validate(const std::string &shortprefix, const std::string &longprefix) const override (defined in args::Command) | args::Command | inlinevirtual |
~Base() (defined in args::Base) | args::Base | inlinevirtual |
~Group() (defined in args::Group) | args::Group | inlinevirtual |