Definition at line 702 of file service.cc.
◆ BoolParameter()
dart::BoolParameter::BoolParameter |
( |
const char * |
name, |
|
|
bool |
required |
|
) |
| |
|
inline |
Definition at line 704 of file service.cc.
const char * name() const
MethodParameter(const char *name, bool required)
◆ Parse()
static bool dart::BoolParameter::Parse |
( |
const char * |
value, |
|
|
bool |
default_value = false |
|
) |
| |
|
inlinestatic |
Definition at line 714 of file service.cc.
714 {
715 if (
value ==
nullptr) {
716 return default_value;
717 }
718 return strcmp(
"true",
value) == 0;
719 }
◆ Validate()
virtual bool dart::BoolParameter::Validate |
( |
const char * |
value | ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: