nl::ArgParser::OptionSet

#include <src/lib/support/nlargparser.hpp>

Defines a group of logically-related and reusable command line options.

Summary

Inheritance

Direct Known Subclasses: nl::ArgParser::OptionSetBase

Public attributes

HelpGroupName
const char *
Group name under which options appear in help output.
OptionDefs
NULL terminated list of option definitions structures.
OptionHandler
OptionHandlerFunct
Pointer to function for processing individual options.
OptionHelp
const char *
Help text describing options.

Public attributes

HelpGroupName

const char * nl::ArgParser::OptionSet::HelpGroupName

Group name under which options appear in help output.

OptionDefs

OptionDef * nl::ArgParser::OptionSet::OptionDefs

NULL terminated list of option definitions structures.

OptionHandler

OptionHandlerFunct nl::ArgParser::OptionSet::OptionHandler

Pointer to function for processing individual options.

OptionHelp

const char * nl::ArgParser::OptionSet::OptionHelp

Help text describing options.