cmdoptns.h(3) Command line option parsing interface.

SYNOPSIS


#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.

Author

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