GetPot - A class for parsing command line arguments and configuration files. 更多...
#include <getpot.h>
类 | |
struct | ltstr |
helper functor for creating sets of C-style strings 更多... | |
struct | variable |
Variable to be specified on the command line or in input files. 更多... | |
Public 成员函数 | |
GetPot () | |
constructors, destructor, assignment operator 更多... | |
GetPot (const GetPot &) | |
GetPot (const int argc_, const char *const *argv_, const char *FieldSeparator=0x0) | |
GetPot (const char *FileName, const char *CommentStart=0x0, const char *CommentEnd=0x0, const char *FieldSeparator=0x0) | |
GetPot (const std::string &FileName, const std::string &CommentStart=std::string("#"), const std::string &CommentEnd=std::string("\n"), const std::string &FieldSeparator=std::string(" \t\n")) | |
GetPot (std::istream &FileStream, const std::string &CommentStart=std::string("#"), const std::string &CommentEnd=std::string("\n"), const std::string &FieldSeparator=std::string(" \t\n")) | |
This constructor is mainly for testing. 更多... | |
~GetPot () | |
GetPot & | operator= (const GetPot &) |
void | parse_command_line (const int argc_, const char *const *argv_, const char *FieldSeparator=0x0) |
Re-initialization methods. 更多... | |
void | parse_input_file (const std::string &FileName, const std::string &CommentStart=std::string("#"), const std::string &CommentEnd=std::string("\n"), const std::string &FieldSeparator=std::string(" \t\n")) |
void | parse_input_stream (std::istream &FileStream, const std::string &FileName=std::string("ParsedFromStream"), const std::string &CommentStart=std::string("#"), const std::string &CommentEnd=std::string("\n"), const std::string &FieldSeparator=std::string(" \t\n")) |
void | absorb (const GetPot &Other) |
absorbing contents of another GetPot object 更多... | |
void | clear_requests () |
for ufo detection: recording requested arguments, options etc. 更多... | |
void | disable_request_recording () |
void | enable_request_recording () |
const char * | operator[] (unsigned Idx) const |
direct access to command line arguments 更多... | |
template<typename T > | |
T | get (unsigned Idx, const T &Default) const |
const char * | get (unsigned Idx, const char *Default) const |
unsigned | size () const |
bool | options_contain (const char *FlagList) const |
flags 更多... | |
bool | argument_contains (unsigned Idx, const char *FlagList) const |
bool | have_variable (const char *VarName) const |
variables 更多... | |
bool | have_variable (const std::string &VarName) const |
bool | have_section (const char *section_name) const |
Check for a section name. 更多... | |
bool | have_section (const std::string §ion_name) const |
Check for a section name. 更多... | |
template<typename T > | |
T | operator() (const char *VarName, const T &Default) const |
scalar values 更多... | |
template<typename T > | |
T | operator() (const std::string &VarName, const T &Default) const |
const char * | operator() (const char *VarName, const char *Default) const |
const char * | operator() (const std::string &VarName, const char *Default) const |
template<typename T > | |
T | operator() (const char *VarName, const T &Default, unsigned Idx) const |
vectors 更多... | |
template<typename T > | |
T | operator() (const std::string &VarName, const T &Default, unsigned Idx) const |
const char * | operator() (const char *VarName, const char *Default, unsigned Idx) const |
const char * | operator() (const std::string &VarName, const char *Default, unsigned Idx) const |
template<typename T > | |
T | get_value_no_default (const char *VarName, const T &Default) const |
access variables, but error out if not present scalar values 更多... | |
template<typename T > | |
T | get_value_no_default (const std::string &VarName, const T &Default) const |
const char * | get_value_no_default (const char *VarName, const char *Default) const |
const char * | get_value_no_default (const std::string &VarName, const char *Default) const |
template<typename T > | |
T | get_value_no_default (const char *VarName, const T &Default, unsigned Idx) const |
vectors 更多... | |
template<typename T > | |
T | get_value_no_default (const std::string &VarName, const T &Default, unsigned Idx) const |
const char * | get_value_no_default (const char *VarName, const char *Default, unsigned Idx) const |
const char * | get_value_no_default (const std::string &VarName, const char *Default, unsigned Idx) const |
template<typename T > | |
void | set (const char *VarName, const T &Value, const bool Requested=true) |
setting variables i) from outside of GetPot (considering prefix etc.) ii) from inside, use '_set_variable()' below 更多... | |
template<typename T > | |
void | set (const std::string &VarName, const T &Value, const bool Requested=true) |
void | set (const char *VarName, const char *Value, const bool Requested=true) |
void | set (const std::string &VarName, const char *Value, const bool Requested=true) |
unsigned | vector_variable_size (const char *VarName) const |
unsigned | vector_variable_size (const std::string &VarName) const |
STRING_VECTOR | get_variable_names () const |
STRING_VECTOR | get_section_names () const |
STRING_VECTOR | get_subsection_names (const std::string §ion_name) const |
std::set< std::string > | get_overridden_variables () const |
void | set_prefix (const char *Prefix) |
cursor oriented functions 更多... | |
bool | search_failed () const |
void | disable_loop () |
enable/disable search for an option in loop 更多... | |
void | enable_loop () |
void | reset_cursor () |
reset cursor to position '1' 更多... | |
void | init_multiple_occurrence () |
bool | search (const char *option) |
search for a certain option and set cursor to position 更多... | |
bool | search (const std::string &option) |
bool | search (unsigned No, const char *P,...) |
template<typename T > | |
T | next (const T &Default) |
get argument at cursor++ 更多... | |
const char * | next (const char *Default) |
template<typename T > | |
T | follow (const T &Default, const char *Option) |
search for option and get argument at cursor++ 更多... | |
const char * | follow (const char *Default, const char *Option) |
template<typename T > | |
T | follow (const T &Default, unsigned No, const char *Option,...) |
search for one of the given options and get argument that follows it 更多... | |
const char * | follow (const char *Default, unsigned No, const char *Option,...) |
template<typename T > | |
T | direct_follow (const T &Default, const char *Option) |
directly followed arguments 更多... | |
const char * | direct_follow (const char *Default, const char *Option) |
void | reset_nominus_cursor () |
nominus arguments 更多... | |
STRING_VECTOR | nominus_vector () const |
unsigned | nominus_size () const |
const char * | next_nominus () |
std::string | next_nominus_string () |
STRING_VECTOR | unidentified_arguments (unsigned Number, const char *Known,...) const |
unidentified flying objects 更多... | |
STRING_VECTOR | unidentified_arguments (const std::set< std::string > &Knowns) const |
STRING_VECTOR | unidentified_arguments (const std::vector< std::string > &Knowns) const |
STRING_VECTOR | unidentified_arguments () const |
STRING_VECTOR | unidentified_options (unsigned Number, const char *Known,...) const |
STRING_VECTOR | unidentified_options (const std::set< std::string > &Knowns) const |
STRING_VECTOR | unidentified_options (const std::vector< std::string > &Knowns) const |
STRING_VECTOR | unidentified_options () const |
std::string | unidentified_flags (const char *Known, int ArgumentNumber) const |
STRING_VECTOR | unidentified_variables (unsigned Number, const char *Known,...) const |
STRING_VECTOR | unidentified_variables (const std::set< std::string > &Knowns) const |
STRING_VECTOR | unidentified_variables (const std::vector< std::string > &Knowns) const |
STRING_VECTOR | unidentified_variables () const |
STRING_VECTOR | unidentified_sections (unsigned Number, const char *Known,...) const |
STRING_VECTOR | unidentified_sections (const std::set< std::string > &Knowns) const |
STRING_VECTOR | unidentified_sections (const std::vector< std::string > &Knowns) const |
STRING_VECTOR | unidentified_sections () const |
STRING_VECTOR | unidentified_nominuses (unsigned Number, const char *Known,...) const |
STRING_VECTOR | unidentified_nominuses (const std::set< std::string > &Knowns) const |
STRING_VECTOR | unidentified_nominuses (const std::vector< std::string > &Knowns) const |
STRING_VECTOR | unidentified_nominuses () const |
std::set< std::string > | get_requested_arguments () const |
Accessors for requested variables. 更多... | |
std::set< std::string > | get_requested_variables () const |
std::set< std::string > | get_requested_sections () const |
int | print (std::ostream &out_stream=std::cout) const |
output 更多... | |
int | print (const char *custom_prefix, std::ostream &out_stream=std::cout, unsigned int skip_count=1) const |
Print everything after skipping skip_count arguments, with a custom prefix. 更多... | |
template<> | |
std::string | _convert_to_type (const std::string &String, const std::string &) const |
template<> | |
std::string | _convert_to_type_no_default (const char *, const std::string &String, const std::string &) const |
template<typename T > | |
T | get (unsigned int Idx, const T &Default) const |
template<typename T > | |
T | follow (const T &Default, unsigned int No, const char *P,...) |
template<typename T > | |
T | operator() (const char *VarName, const T &Default, unsigned int Idx) const |
template<typename T > | |
T | operator() (const std::string &VarName, const T &Default, unsigned int Idx) const |
template<typename T > | |
T | get_value_no_default (const char *VarName, const T &Default, unsigned int Idx) const |
template<typename T > | |
T | get_value_no_default (const std::string &VarName, const T &Default, unsigned int Idx) const |
Private 成员函数 | |
void | _basic_initialization () |
const char * | _internal_managed_copy (const std::string &Arg) const |
some functions return a char pointer to a temporarily existing string this function adds them to our container 更多... | |
void | _record_argument_request (const std::string &Arg) const |
if an argument is requested record it and the 'tag' the section branch to which it belongs. 更多... | |
void | _record_variable_request (const std::string &Arg) const |
void | _set_variable (const std::string &VarName, const std::string &Value, const bool Requested) |
helper functions 更多... | |
void | _parse_argument_vector (const STRING_VECTOR &ARGV) |
produce three basic data vectors: 更多... | |
const variable * | _find_variable (const char *) const |
helpers for argument list processing 更多... | |
const variable * | _request_variable (const char *) const |
search (and record request) for a variable in 'variables' array 更多... | |
const char * | _match_starting_string (const char *StartString) |
support finding directly followed arguments 更多... | |
bool | _check_flags (const std::string &Str, const char *FlagList) const |
support search for flags in a specific argument 更多... | |
template<typename T > | |
T | _convert_to_type (const std::string &String, const T &Default) const |
type conversion if possible 更多... | |
std::string | _convert_to_type (const std::string &String, const char *Default) const |
template<typename T > | |
T | _convert_to_type_no_default (const char *VarName, const std::string &String, const T &Default) const |
std::string | _convert_to_type_no_default (const char *VarName, const std::string &String, const char *Default) const |
const std::string | _get_remaining_string (const std::string &String, const std::string &Start) const |
prefix extraction 更多... | |
bool | _search_string_vector (const STRING_VECTOR &Vec, const std::string &Str) const |
search for a specific string 更多... | |
void | _skip_whitespace (std::istream &istr) |
helpers to parse input file create an argument vector based on data found in an input file, i.e. 更多... | |
const std::string | _get_next_token (std::istream &istr) |
const std::string | _get_string (std::istream &istr) |
const std::string | _get_until_closing_bracket (std::istream &istr) |
const std::string | _get_until_closing_square_bracket (std::istream &istr) |
STRING_VECTOR | _read_in_stream (std::istream &istr) |
std::string | _process_section_label (const std::string &Section, STRING_VECTOR §ion_stack) |
std::string | _DBE_expand_string (const std::string &str) |
dollar bracket expressions 更多... | |
std::string | _DBE_expand (const std::string &str) |
const GetPot::variable * | _DBE_get_variable (const std::string &str) |
STRING_VECTOR | _DBE_get_expr_list (const std::string &str, const unsigned ExpectedNumber) |
template<> | |
bool | _convert_to_type (const std::string &String, const bool &Default) const |
template<> | |
bool | _convert_to_type_no_default (const char *VarName, const std::string &String, const bool &) const |
静态 Private 成员函数 | |
template<typename T > | |
static std::string | _convert_from_type (const T &Value) |
static STRING_VECTOR | _get_section_tree (const std::string &FullPath) |
cuts a variable name into a tree of sub-sections. 更多... | |
Private 属性 | |
std::string | prefix |
member variables 更多... | |
std::string | section |
STRING_VECTOR | section_list |
STRING_VECTOR | argv |
argument vector 更多... | |
unsigned | cursor |
bool | search_loop_f |
bool | search_failed_f |
std::set< std::string > | overridden_vars |
int | nominus_cursor |
nominus vector 更多... | |
std::vector< unsigned > | idx_nominus |
std::vector< variable > | variables |
variables (arguments of the form "variable=value") 更多... | |
std::string | _comment_start |
comment delimiters 更多... | |
std::string | _comment_end |
std::string | _field_separator |
field separator (separating elements of a vector) 更多... | |
GETPOT_MUTEX_DECLARE | |
we have some mutable non-thread-safe members, but we want to be able to call const member functions from multiple threads at once, so we'll wrap access to mutable objects in a mutex. 更多... | |
std::set< const char *, ltstr > | _internal_string_container |
some functions return a char pointer to a string created on the fly. 更多... | |
std::set< std::string > | _requested_arguments |
keeping track about arguments that are requested, so that the UFO detection can be simplified 更多... | |
std::set< std::string > | _requested_variables |
std::set< std::string > | _requested_sections |
bool | request_recording_f |
GetPot - A class for parsing command line arguments and configuration files.
|
inline |
constructors, destructor, assignment operator
|
inline |
参考 _internal_string_container.
|
inline |
|
inline |
|
inline |
|
inline |
This constructor is mainly for testing.
The std::string based constructor should be preferred.
|
inline |
参考 _internal_string_container.
|
inlineprivate |
参考 _comment_end, _comment_start, _field_separator, cursor, nominus_cursor, prefix, request_recording_f, search_failed_f, search_loop_f , 以及 section.
参考自 GetPot(), parse_command_line() , 以及 parse_input_stream().
|
inlineprivate |
support search for flags in a specific argument
参考自 argument_contains() , 以及 options_contain().
|
inlinestaticprivate |
参考自 _DBE_expand().
|
inlineprivate |
type conversion if possible
参考自 _DBE_expand(), direct_follow(), get(), next() , 以及 operator()().
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
参考 _convert_from_type(), _convert_to_type(), _DBE_get_expr_list(), _DBE_get_variable(), std::abs(), GETPOT_NAMESPACE::GetPot::variable::name, GETPOT_NAMESPACE::GetPot::variable::original, size() , 以及 std::sqrt().
参考自 _DBE_expand_string() , 以及 _DBE_get_expr_list().
|
inlineprivate |
dollar bracket expressions
参考 _DBE_expand().
|
inlineprivate |
参考 _DBE_expand().
参考自 _DBE_expand().
|
inlineprivate |
参考 _request_variable(), GETPOT_NAMESPACE::GetPot::variable::original, prefix , 以及 section.
参考自 _DBE_expand().
|
inlineprivate |
helpers for argument list processing
search for a variable in 'variables' array
参考自 _request_variable() , 以及 _set_variable().
|
inlineprivate |
参考 _get_string(), _get_until_closing_bracket() , 以及 _get_until_closing_square_bracket().
参考自 _read_in_stream().
|
inlineprivate |
|
inlinestaticprivate |
cuts a variable name into a tree of sub-sections.
this is requested for recording requested sections when dealing with 'ufo' detection.
参考自 _record_argument_request() , 以及 _record_variable_request().
|
inlineprivate |
参考自 _get_next_token().
|
inlineprivate |
参考自 _get_next_token().
|
inlineprivate |
参考自 _get_next_token().
|
inlineprivate |
some functions return a char pointer to a temporarily existing string this function adds them to our container
参考 _internal_string_container.
参考自 direct_follow(), follow(), get_value_no_default(), next(), next_nominus() , 以及 operator()().
|
inlineprivate |
support finding directly followed arguments
参考 argv, cursor, search_failed_f , 以及 search_loop_f.
参考自 direct_follow().
|
inlineprivate |
produce three basic data vectors:
参考 _comment_end, _comment_start, _DBE_expand_string(), _field_separator, _process_section_label(), _requested_arguments, _set_variable(), argv, idx_nominus, parse_input_file(), request_recording_f, section , 以及 section_list.
参考自 parse_command_line() , 以及 parse_input_stream().
|
inlineprivate |
|
inlineprivate |
参考 _comment_start, _get_next_token() , 以及 _skip_whitespace().
参考自 parse_input_stream().
|
inlineprivate |
if an argument is requested record it and the 'tag' the section branch to which it belongs.
Caution: both functions mark the sections as 'tagged'. These are "const" functions but they do modify the mutable requested* members
参考 _get_section_tree(), _requested_arguments, _requested_sections, request_recording_f , 以及 section.
参考自 argument_contains(), direct_follow(), next(), next_nominus(), next_nominus_string(), nominus_vector() , 以及 search().
|
inlineprivate |
参考 _get_section_tree(), _requested_sections, _requested_variables, request_recording_f , 以及 section.
参考自 _request_variable().
|
inlineprivate |
search (and record request) for a variable in 'variables' array
参考 _find_variable() , 以及 _record_variable_request().
参考自 _DBE_get_variable(), _set_variable(), get_value_no_default(), have_variable(), operator()() , 以及 vector_variable_size().
|
inlineprivate |
|
inlineprivate |
helper functions
set variable from inside GetPot (no prefix considered)
参考 _field_separator, _find_variable(), _request_variable(), overridden_vars , 以及 variables.
参考自 _parse_argument_vector() , 以及 set().
|
inlineprivate |
helpers to parse input file create an argument vector based on data found in an input file, i.e.
: 1) delete comments (in between '_comment_start' '_comment_end') 2) contract assignment expressions, such as my-variable = '007 J. B.' into my-variable='007 J. B.' 3) interpret sections like '[../my-section]' etc.
参考 _comment_end , 以及 _comment_start.
参考自 _read_in_stream().
|
inline |
absorbing contents of another GetPot object
参考 _requested_arguments, _requested_sections, _requested_variables, argv, request_recording_f , 以及 variables.
|
inline |
参考 _check_flags(), _get_remaining_string(), _record_argument_request(), argv , 以及 prefix.
|
inline |
for ufo detection: recording requested arguments, options etc.
参考 _requested_arguments, _requested_sections , 以及 _requested_variables.
|
inline |
directly followed arguments
参考 _convert_to_type(), _match_starting_string(), _record_argument_request(), argv , 以及 cursor.
参考自 direct_follow().
|
inline |
参考 _internal_managed_copy() , 以及 direct_follow().
|
inline |
|
inline |
|
inline |
参考 search_loop_f.
|
inline |
|
inline |
search for option and get argument at cursor++
参考自 follow().
|
inline |
参考 _internal_managed_copy() , 以及 follow().
|
inline |
search for one of the given options and get argument that follows it
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
参考 _convert_to_type() , 以及 argv.
|
inline |
参考 overridden_vars.
|
inline |
Accessors for requested variables.
|
inline |
|
inline |
|
inline |
参考 section_list.
|
inline |
参考 section_list.
|
inline |
access variables, but error out if not present scalar values
参考 _convert_to_type_no_default(), _request_variable() , 以及 GETPOT_NAMESPACE::GetPot::variable::original.
|
inline |
|
inline |
参考 _internal_managed_copy() , 以及 get_value_no_default().
|
inline |
|
inline |
vectors
|
inline |
|
inline |
|
inline |
|
inline |
参考 _convert_to_type_no_default(), _request_variable() , 以及 GETPOT_NAMESPACE::GetPot::variable::get_element().
|
inline |
|
inline |
参考 _get_remaining_string(), prefix , 以及 variables.
|
inline |
Check for a section name.
When querying, the section_name can be of the form Section1 or Section1/
Section1/Section2 or Section1/Section2/
etc.
|
inline |
Check for a section name.
When querying, the section_name can be of the form Section1 or Section1/
Section1/Section2 or Section1/Section2/
etc.
参考 section_list.
|
inline |
variables
check for a variable
参考自 have_variable().
|
inline |
参考 have_variable().
|
inline |
参考 disable_loop() , 以及 reset_cursor().
|
inline |
get argument at cursor++
参考 _convert_to_type(), _get_remaining_string(), _record_argument_request(), argv, cursor, prefix , 以及 search_failed_f.
|
inline |
参考 _internal_managed_copy() , 以及 next().
|
inline |
参考 _internal_managed_copy(), _record_argument_request(), argv, idx_nominus , 以及 nominus_cursor.
|
inline |
参考 _record_argument_request(), argv, idx_nominus , 以及 nominus_cursor.
|
inline |
参考 idx_nominus.
|
inline |
参考 _record_argument_request(), argv , 以及 idx_nominus.
|
inline |
scalar values
参考 _convert_to_type(), _request_variable() , 以及 GETPOT_NAMESPACE::GetPot::variable::original.
参考自 operator()().
|
inline |
参考 operator()().
|
inline |
|
inline |
参考 operator()().
|
inline |
vectors
|
inline |
|
inline |
|
inline |
|
inline |
参考 _convert_to_type(), _request_variable() , 以及 GETPOT_NAMESPACE::GetPot::variable::get_element().
|
inline |
参考 operator()().
参考 _comment_end, _comment_start, _field_separator, _internal_string_container, _requested_arguments, _requested_sections, _requested_variables, argv, cursor, idx_nominus, nominus_cursor, overridden_vars, prefix, request_recording_f, search_failed_f, search_loop_f, section, section_list , 以及 variables.
参考自 GETPOT_NAMESPACE::GetPot::variable::variable().
|
inline |
|
inline |
flags
参考 _check_flags(), _get_remaining_string(), argv , 以及 prefix.
|
inline |
Re-initialization methods.
参考 _basic_initialization(), _field_separator , 以及 _parse_argument_vector().
参考自 GetPot().
|
inline |
参考自 _parse_argument_vector() , 以及 GetPot().
|
inline |
参考 _basic_initialization(), _comment_end, _comment_start, _field_separator, _parse_argument_vector() , 以及 _read_in_stream().
参考自 GetPot() , 以及 parse_input_file().
|
inline |
|
inline |
Print everything after skipping skip_count arguments, with a custom prefix.
skip_count defaults to 1 to handle the common "executable input_file" command line case.
参考 argv.
|
inline |
|
inline |
|
inline |
search for a certain option and set cursor to position
参考 _record_argument_request(), argv, cursor, prefix, search_failed_f , 以及 search_loop_f.
|
inline |
参考 search().
|
inline |
参考 _record_argument_request() , 以及 search().
|
inline |
参考 search_failed_f.
|
inline |
setting variables i) from outside of GetPot (considering prefix etc.) ii) from inside, use '_set_variable()' below
参考 _set_variable().
参考自 set().
|
inline |
参考 set().
|
inline |
参考 _set_variable().
|
inline |
参考 set().
|
inline |
|
inline |
|
inline |
unidentified flying objects
|
inline |
参考 _get_remaining_string(), argv , 以及 prefix.
|
inline |
|
inline |
参考自 unidentified_arguments() , 以及 unidentified_options().
|
inline |
参考 _get_remaining_string(), argv , 以及 prefix.
|
inline |
|
inline |
参考 _get_remaining_string(), argv , 以及 prefix.
|
inline |
|
inline |
|
inline |
|
inline |
参考 _get_remaining_string(), argv , 以及 prefix.
|
inline |
|
inline |
参考 _requested_arguments , 以及 unidentified_arguments().
|
inline |
|
inline |
参考 _get_remaining_string(), prefix , 以及 section_list.
|
inline |
|
inline |
|
inline |
|
inline |
参考 _get_remaining_string(), prefix , 以及 variables.
|
inline |
|
inline |
|
inline |
参考 _request_variable() , 以及 GETPOT_NAMESPACE::GetPot::variable::value.
|
inline |
|
private |
|
private |
comment delimiters
参考自 _basic_initialization(), _parse_argument_vector(), _read_in_stream(), _skip_whitespace(), operator=() , 以及 parse_input_stream().
|
private |
field separator (separating elements of a vector)
参考自 _basic_initialization(), _parse_argument_vector(), _set_variable(), operator=(), parse_command_line() , 以及 parse_input_stream().
|
mutableprivate |
some functions return a char pointer to a string created on the fly.
this container makes them 'available' until the getpot object is destroyed. user codes are recommended to instead request std::string values. We use char* here because c_str() results are only guaranteed to remain valid until a non-const string method is called
参考自 _internal_managed_copy(), GetPot(), operator=() , 以及 ~GetPot().
|
mutableprivate |
keeping track about arguments that are requested, so that the UFO detection can be simplified
参考自 _parse_argument_vector(), _record_argument_request(), absorb(), clear_requests(), get_requested_arguments(), operator=(), unidentified_arguments(), unidentified_nominuses() , 以及 unidentified_options().
|
mutableprivate |
|
mutableprivate |
|
private |
argument vector
参考自 _match_starting_string(), _parse_argument_vector(), absorb(), argument_contains(), direct_follow(), get(), next(), next_nominus(), next_nominus_string(), nominus_vector(), operator=(), operator[](), options_contain(), print(), search(), size(), unidentified_arguments(), unidentified_flags(), unidentified_nominuses() , 以及 unidentified_options().
|
private |
|
private |
|
private |
|
private |
nominus vector
参考自 _basic_initialization(), next_nominus(), next_nominus_string(), operator=() , 以及 reset_nominus_cursor().
|
private |
参考自 _set_variable(), get_overridden_variables() , 以及 operator=().
|
private |
member variables
参考自 _basic_initialization(), _DBE_get_variable(), _find_variable(), argument_contains(), get_variable_names(), next(), operator=(), options_contain(), search(), set_prefix(), unidentified_arguments(), unidentified_flags(), unidentified_nominuses(), unidentified_options(), unidentified_sections() , 以及 unidentified_variables().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
variables (arguments of the form "variable=value")
参考自 _find_variable(), _set_variable(), absorb(), get_variable_names(), operator=() , 以及 unidentified_variables().