#include <arglib.h>
String argument class.
Definition at line 193 of file arglib.h.
◆ argString()
clarg::argString::argString |
( |
const char * |
arg, |
|
|
const char * |
desc, |
|
|
string |
v |
|
) |
| |
|
inline |
◆ parse_parameters()
int clarg::argString::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 203 of file arglib.h.
◆ write_parameters()
void clarg::argString::write_parameters |
( |
ostream & |
os, |
|
|
bool |
def |
|
) |
| const |
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: