|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
21 #ifndef ELM_OPTION_OPTION_H
22 #define ELM_OPTION_OPTION_H
24 #include <elm/util/VarArg.h>
25 #include <elm/string.h>
27 #include <elm/data/Vector.h>
29 namespace elm {
namespace option {
80 #endif // ELM_OPTION_OPTION_H
Definition: MessageException.h:30
@ arg_none
Definition: Option.h:42
Option()
Definition: Option.h:66
Manager & man
Definition: Option.h:61
virtual String message(void)
Definition: util_MessageException.cpp:50
cstring _desc
Definition: Option.h:63
Make & description(cstring desc)
Definition: Option.h:59
usage_t
Definition: Option.h:41
virtual usage_t usage()=0
virtual cstring argDescription()=0
void add(const T &v)
Definition: Vector.h:101
Make & help(cstring d)
Definition: Option.h:58
Make & cmd(string cmd)
Definition: Option.h:57
Vector< string > cmds
Definition: Option.h:62
virtual cstring description()
Definition: option_Option.cpp:117
@ arg_optional
Definition: Option.h:43
OptionException(const String &message)
Definition: option_Manager.cpp:168
@ arg_required
Definition: Option.h:44
virtual ~Option()
Definition: Option.h:68
Make(Manager &m)
Definition: Option.h:56
virtual void process(String arg)=0
cstring desc
Definition: Option.h:75
Make(Manager *m)
Definition: Option.h:55