|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
22 #ifndef OTAWA_OPTION_SWITCHOPTION_H_
23 #define OTAWA_OPTION_SWITCHOPTION_H_
28 namespace elm {
namespace option {
36 inline bool get(
void)
const {
return val; }
39 inline operator bool(
void)
const {
return get(); }
46 virtual void process(
string arg);
virtual void process(string arg)
Definition: option_SwitchOption.cpp:50
virtual usage_t usage(void)
Definition: option_SwitchOption.cpp:36
void set(bool value)
Definition: SwitchOption.h:35
bool operator*(void) const
Definition: SwitchOption.h:40
usage_t
Definition: Option.h:41
virtual CString argDescription(void)
Definition: option_SwitchOption.cpp:43
SwitchOption(const Make &make)
Definition: option_SwitchOption.cpp:59
SwitchOption & operator=(bool value)
Definition: SwitchOption.h:41
Definition: SwitchOption.h:31
bool get(void) const
Definition: SwitchOption.h:36
SwitchOption Switch
Definition: SwitchOption.h:52