man cmdoptns.h (Fonctions bibliothèques) - Command line option parsing interface.

NAME

cmdoptns.h - Command line option parsing interface.

SYNOPSIS



#include <cc++/string.h>

Namespaces

namespace ost

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.CommandOption to take the rest of the command line. class ost::CommandOptionCollect

It only makes sense to have a single one of these set and it is also exclusive with CommandOptionRest.CommandOption to collect parameters that are not options. class ost::CommandOptionNoArg

CommandOption type for flags. class ost::CommandOptionParse

This is the CommandOptionParse interface class.

Functions

__EXPORT CommandOptionParse * ost::makeCommandOptionParse (int argc, char **argv, 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.