|
OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_arg.h>
Classes | |
| struct | arg_inter_base |
Public Member Functions | |
| cli_interpreter () | |
| ~cli_interpreter () | |
| void | init (int argc, char *argv[]) |
| argument | get_next_value (const argument ¤t) |
| argument | find_argument (const char *str) |
| void | release_argument (const argument &arg) |
| bool | is_exhausted () |
| argument | get_argument_zero () |
| argument | get_next_avail_argument (const argument &arg) |
| void | reinterpret (const char *str, int &val) |
| void | reinterpret (const char *str, ui32 &val) |
| void | reinterpret (const char *str, float &val) |
| void | reinterpret (const char *str, bool &val) |
| bool | reinterpret (const char *str) |
| void | reinterpret_to_bool (const char *str, int &val) |
| void | reinterpret (const char *str, char *&val) |
| void | reinterpret (const char *str, arg_inter_base *fun) |
Private Attributes | |
| char ** | argv |
| int | argc |
| ui8 | avail_store [16] |
| ui8 * | avail |
Definition at line 66 of file ojph_arg.h.
|
inline |
Definition at line 68 of file ojph_arg.h.
References argc, argv, avail, and avail_store.
|
inline |
Definition at line 69 of file ojph_arg.h.
References avail, and avail_store.
|
inline |
Definition at line 97 of file ojph_arg.h.
References ojph::argument::arg, argc, argv, avail, and ojph::argument::index.
Referenced by reinterpret(), reinterpret(), reinterpret(), reinterpret(), reinterpret(), reinterpret(), reinterpret(), and reinterpret_to_bool().
|
inline |
Definition at line 126 of file ojph_arg.h.
References ojph::argument::arg, and argv.
Referenced by get_arguments(), get_arguments(), and get_arguments().
Definition at line 133 of file ojph_arg.h.
References ojph::argument::arg, argc, argv, avail, and ojph::argument::index.
Referenced by get_arguments(), get_arguments(), and get_arguments().
Definition at line 86 of file ojph_arg.h.
References ojph::argument::arg, argc, argv, avail, and ojph::argument::index.
Referenced by reinterpret(), reinterpret(), reinterpret(), reinterpret(), reinterpret(), reinterpret(), and reinterpret_to_bool().
|
inline |
Definition at line 73 of file ojph_arg.h.
References argc, argv, avail, avail_store, and ojph_max.
Referenced by get_arguments(), get_arguments(), and get_arguments().
|
inline |
Definition at line 118 of file ojph_arg.h.
Referenced by get_arguments(), get_arguments(), and get_arguments().
|
inline |
Definition at line 205 of file ojph_arg.h.
References find_argument(), ojph::argument::is_valid(), and release_argument().
|
inline |
Definition at line 252 of file ojph_arg.h.
References ojph::argument::arg, find_argument(), get_next_value(), ojph::argument::is_valid(), ojph::cli_interpreter::arg_inter_base::operate(), and release_argument().
|
inline |
Definition at line 185 of file ojph_arg.h.
References ojph::argument::arg, find_argument(), get_next_value(), ojph::argument::is_valid(), and release_argument().
|
inline |
Definition at line 236 of file ojph_arg.h.
References ojph::argument::arg, find_argument(), get_next_value(), ojph::argument::is_valid(), and release_argument().
|
inline |
Definition at line 172 of file ojph_arg.h.
References ojph::argument::arg, find_argument(), get_next_value(), ojph::argument::is_valid(), and release_argument().
|
inline |
Definition at line 146 of file ojph_arg.h.
References ojph::argument::arg, find_argument(), get_next_value(), ojph::argument::is_valid(), and release_argument().
Referenced by get_arguments(), get_arguments(), and get_arguments().
|
inline |
Definition at line 159 of file ojph_arg.h.
References ojph::argument::arg, find_argument(), get_next_value(), ojph::argument::is_valid(), and release_argument().
|
inline |
Definition at line 216 of file ojph_arg.h.
References ojph::argument::arg, find_argument(), get_next_value(), ojph::argument::is_valid(), and release_argument().
Referenced by get_arguments().
|
inline |
Definition at line 110 of file ojph_arg.h.
References argc, avail, and ojph::argument::index.
Referenced by reinterpret(), reinterpret(), reinterpret(), reinterpret(), reinterpret(), reinterpret(), reinterpret(), and reinterpret_to_bool().
|
private |
Definition at line 266 of file ojph_arg.h.
Referenced by cli_interpreter(), find_argument(), get_next_avail_argument(), get_next_value(), init(), is_exhausted(), and release_argument().
|
private |
Definition at line 265 of file ojph_arg.h.
Referenced by cli_interpreter(), find_argument(), get_argument_zero(), get_next_avail_argument(), get_next_value(), and init().
|
private |
Definition at line 268 of file ojph_arg.h.
Referenced by cli_interpreter(), find_argument(), get_next_avail_argument(), get_next_value(), init(), is_exhausted(), release_argument(), and ~cli_interpreter().
|
private |
Definition at line 267 of file ojph_arg.h.
Referenced by cli_interpreter(), init(), and ~cli_interpreter().