GetOpt class.
More...
#include <OS.h>
GetOpt class.
Definition at line 157 of file posix/coil/OS.h.
◆ GetOpt() [1/2]
coil::GetOpt::GetOpt |
( |
int |
argc, |
|
|
char *const |
argv[], |
|
|
const char * |
opt, |
|
|
int |
flag |
|
) |
| |
|
inline |
◆ ~GetOpt() [1/2]
coil::GetOpt::~GetOpt |
( |
| ) |
|
|
inline |
◆ GetOpt() [2/2]
coil::GetOpt::GetOpt |
( |
int |
argc, |
|
|
char *const |
argv[], |
|
|
const char * |
opt, |
|
|
int |
flag |
|
) |
| |
|
inline |
◆ ~GetOpt() [2/2]
coil::GetOpt::~GetOpt |
( |
| ) |
|
|
inline |
◆ operator()() [1/2]
int coil::GetOpt::operator() |
( |
| ) |
|
|
inline |
Parses the command line arguments.
Parses the command line arguments.
- Returns
- Result of parses.
Definition at line 230 of file posix/coil/OS.h.
◆ operator()() [2/2]
int coil::GetOpt::operator() |
( |
| ) |
|
|
inline |
Parses the command line arguments.
Parses the command line arguments.
- Returns
- Result of parses.
Definition at line 432 of file win32/coil/OS.h.
◆ m_argc
◆ m_argv
char *const * coil::GetOpt::m_argv |
|
private |
◆ m_flag
◆ m_opt
const char * coil::GetOpt::m_opt |
|
private |
◆ optarg
char * coil::GetOpt::optarg |
◆ opterr
◆ optind
◆ optopt
The documentation for this class was generated from the following file: