cmdoptns.h(3)

cmdoptns.h3

Command line option parsing interface.

Usage

#include <cc++/string.h>

Classes

class ost::CommandOption
CommandOption is the base class for all command line options. class ost::CommandOptionWithArg
Derived class of CommandOption for options that have a value associated with them. class ost::CommandOptionArg
Class for options with an argument e.g. class ost::CommandOptionRest
It only makes sense to have a single one of these set and it is exclusive with CommandOptionCollect. class ost::CommandOptionCollect
It only makes sense to have a single one of these set and it is also exclusive with CommandOptionRest. class ost::CommandOptionNoArg
CommandOption type for flags. class ost::CommandOptionParse
This is the CommandOptionParse interface class.

Namespaces

ost

Functions

__EXPORT CommandOptionParse * ost::makeCommandOptionParse (int argc, char **argv, const char *comment, CommandOption *options=defaultCommandOptionList)
makeCommandOptionParse will create an implementation of a CommandOptionParse object.

Variables

__EXPORT CommandOption * ost::defaultCommandOptionList
This defines a linked list head pointer for all the command line options that use the default list.

Detailed Description

Command line option parsing interface.

Releases

8 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.

From libcommoncpp2-doc 1.8.1-10 in Debian 11 (Bullseye). Parsed by carta from the page's man source.