#include <arglib.h>
Boolean argument class.
Definition at line 284 of file arglib.h.
◆ argBool()
clarg::argBool::argBool |
( |
const char * |
arg, |
|
|
const char * |
desc, |
|
|
bool |
v = false |
|
) |
| |
|
inline |
◆ parse_parameters()
int clarg::argBool::parse_parameters |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
inlineprotectedvirtual |
Parse the argument parameters. Must be implemented by the specialized argument class. When parsing, make sure you copy the parsed parameters into the arg_parameters array. Returns the number of parameters parsed if ok, -1 if an error occured.
Implements clarg::arg_base.
Definition at line 294 of file arglib.h.
◆ write_parameters()
void clarg::argBool::write_parameters |
( |
ostream & |
os, |
|
|
bool |
def |
|
) |
| const |
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: