Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/option/Manager.h>
Public Member Functions | |
Make (void) | |
Make (cstring program, Version version=Version::ZERO) | |
Make & | author (cstring s) |
Make & | copyright (cstring s) |
Make & | description (cstring s) |
Make & | free_argument (cstring s) |
Make & | help (void) |
Make & | version (void) |
This class is an initializer for class Manager. It procides a safe and readable way to initialize an option manager. It is usually passed directly to the Manager constructor.
|
inline |
|
inline |
Specify the author of the application.
|
inline |
Specify the copyright of the application.
|
inline |
Specify the description of the application.
|
inline |
Specify description of the free arguments.
|
inline |
Ask the manager to create a switch option activated with "-h" or "--help" that, when activated, display help message and the list of options. Then it stops the application with an exit code of 1.