GetOpt class.
More...
#include <OS.h>
coil::GetOpt::GetOpt |
( |
int |
argc, |
|
|
char *const |
argv[], |
|
|
const char * |
opt, |
|
|
int |
flag |
|
) |
| |
|
inline |
Constructor.
Constructor
- Parameters
-
References optind.
coil::GetOpt::~GetOpt |
( |
| ) |
|
|
inline |
Destructor.
Destructor
References optind.
int coil::GetOpt::operator() |
( |
| ) |
|
|
inline |
Parses the command line arguments.
Parses the command line arguments.
- Returns
- Result of parses.
References optarg, opterr, optind, and optopt.
char* coil::GetOpt::optarg |
The documentation for this class was generated from the following file:
- /home/openrtm/doc-build/OpenRTM-aist-1.2.1/src/lib/coil/include/coil/OS.h