Inheritance diagram for option_stream_scan_t:


Given an instream, scan for options in a given option_troup_t on that stream. This is used by option_file_scan_t.
Definition at line 378 of file option.h.
Public Member Functions | |
| option_stream_scan_t (istream &is, option_group_t *option_group) | |
| ~option_stream_scan_t () | |
| void | setLabel (const char *label) |
| w_rc_t | scan (bool over_ride, ostream &err_stream, bool exact=false, bool mismatch_ok=false) |
| Scan all options, report errors to err_stream. | |
| w_rc_t option_stream_scan_t::scan | ( | bool | over_ride, | |
| ostream & | err_stream, | |||
| bool | exact = false, |
|||
| bool | mismatch_ok = false | |||
| ) |
Scan all options, report errors to err_stream.
| [in] | over_ride | If false, new values of options will be ignored. If true, assignments to already-set options will be made. |
| [out] | err_stream | Send error message here if non-NULL. |
| [in] | exact | If true, misspellings or abbreviations of option names in the instream will result in errors. |
| [in] | mismatch_ok | If true, bad option names will be ignored and will not cause failure of the entire scan. |
Definition at line 781 of file option.cpp.
References w_rc_t::err_num(), w_rc_t::is_error(), option_group_t::lookup_by_class(), RC, RCOK, and option_t::set_value().
Referenced by option_file_scan_t::scan().
Here is the call graph for this function:

Here is the caller graph for this function:

1.4.7