APM:Libraries
|
#include <getopt_cpp.h>
Classes | |
struct | option |
Public Types | |
enum | error_return { BADCH ='?', BADARG =':' } |
Public Member Functions | |
GetOptLong (int argc, char *const argv[], const char *optstring, const option *longopts) | |
int | getoption (void) |
Public Attributes | |
int | opterr |
int | optind |
int | optopt |
int | longindex |
const char * | optarg |
Private Attributes | |
int | argc |
char *const * | argv |
const char * | optstring |
const struct option * | longopts |
const char * | place |
Definition at line 14 of file getopt_cpp.h.
Enumerator | |
---|---|
BADCH | |
BADARG |
Definition at line 31 of file getopt_cpp.h.
GetOptLong::GetOptLong | ( | int | argc, |
char *const | argv[], | ||
const char * | optstring, | ||
const option * | longopts | ||
) |
int GetOptLong::getoption | ( | void | ) |
Referenced by HALSITL::SITL_State::_parse_command_line(), and HAL_Linux::run().
|
private |
Definition at line 40 of file getopt_cpp.h.
|
private |
Definition at line 41 of file getopt_cpp.h.
int GetOptLong::longindex |
Definition at line 28 of file getopt_cpp.h.
|
private |
Definition at line 43 of file getopt_cpp.h.
const char* GetOptLong::optarg |
Definition at line 29 of file getopt_cpp.h.
Referenced by HALSITL::SITL_State::_parse_command_line(), and HAL_Linux::run().
int GetOptLong::opterr |
Definition at line 25 of file getopt_cpp.h.
int GetOptLong::optind |
Definition at line 26 of file getopt_cpp.h.
Referenced by HAL_Linux::run().
int GetOptLong::optopt |
Definition at line 27 of file getopt_cpp.h.
|
private |
Definition at line 42 of file getopt_cpp.h.
|
private |
Definition at line 44 of file getopt_cpp.h.