ui-utilcpp
1.8.3
|
Abstraction of GNU C "getopt_long(3)". More...
#include <string>
#include <vector>
#include <getopt.h>
Data Structures | |
class | UI::Util::CLOption |
Most general class for a command line option. Use this class for a option without argument. More... | |
class | UI::Util::CLOptionArg |
Class representing a command line option with mandatory argument. More... | |
class | UI::Util::CLOptionOptArg |
Class representing a command line option with optional argument. More... | |
class | UI::Util::GetOpt |
Abstraction class for GNU getopt_long(3). More... | |
Namespaces | |
UI | |
Namespace for any Schlund+Partner C++ code. | |
UI::Util | |
Namespace for ui-utilcpp. | |
Abstraction of GNU C "getopt_long(3)".
Synopsis:
Notes: - A "command line option" has the form "--<nameLong>=<arg>" or "-<nameShort> <arg>". - Arg can be optional. - Parser used is GNU getoptAlong. Limitations / todos: - Currently, all c.l.options MUST have a short _and_ a long option. Usage (informal): - GetOpt getOpt(argc, argv) - { getOpt.set(...) }