#include <getpot.h>
Classes | |
struct | ltstr |
struct | variable |
Public Member Functions | |
GetPot () | |
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")) | |
~GetPot () | |
GetPot & | operator= (const GetPot &) |
void | parse_command_line (const int argc_, const char *const *argv_, const char *FieldSeparator=0x0) |
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) |
void | clear_requests () |
void | disable_request_recording () |
void | enable_request_recording () |
const char * | operator[] (unsigned Idx) const |
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 |
bool | argument_contains (unsigned Idx, const char *FlagList) const |
bool | have_variable (const char *VarName) const |
bool | have_variable (const std::string &VarName) const |
bool | have_section (const char *section_name) const |
bool | have_section (const std::string §ion_name) const |
template<typename T > | |
T | operator() (const char *VarName, const T &Default) const |
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 |
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 |
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 |
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) |
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) |
bool | search_failed () const |
void | disable_loop () |
void | enable_loop () |
void | reset_cursor () |
void | init_multiple_occurrence () |
bool | search (const char *option) |
bool | search (const std::string &option) |
bool | search (unsigned No, const char *P,...) |
template<typename T > | |
T | next (const T &Default) |
const char * | next (const char *Default) |
template<typename T > | |
T | follow (const T &Default, const char *Option) |
const char * | follow (const char *Default, const char *Option) |
template<typename T > | |
T | follow (const T &Default, unsigned No, const char *Option,...) |
const char * | follow (const char *Default, unsigned No, const char *Option,...) |
template<typename T > | |
T | direct_follow (const T &Default, const char *Option) |
const char * | direct_follow (const char *Default, const char *Option) |
void | reset_nominus_cursor () |
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 |
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 |
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 |
int | print (const char *custom_prefix, std::ostream &out_stream=std::cout, unsigned int skip_count=1) const |
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 Member Functions | |
void | _basic_initialization () |
const char * | _internal_managed_copy (const std::string &Arg) const |
void | _record_argument_request (const std::string &Arg) const |
void | _record_variable_request (const std::string &Arg) const |
void | _set_variable (const std::string &VarName, const std::string &Value, const bool Requested) |
void | _parse_argument_vector (const STRING_VECTOR &ARGV) |
const variable * | _find_variable (const char *) const |
const variable * | _request_variable (const char *) const |
const char * | _match_starting_string (const char *StartString) |
bool | _check_flags (const std::string &Str, const char *FlagList) const |
template<typename T > | |
T | _convert_to_type (const std::string &String, const T &Default) const |
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 |
bool | _search_string_vector (const STRING_VECTOR &Vec, const std::string &Str) const |
void | _skip_whitespace (std::istream &istr) |
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) |
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 |
Static Private Member Functions | |
template<typename T > | |
static std::string | _convert_from_type (const T &Value) |
static STRING_VECTOR | _get_section_tree (const std::string &FullPath) |
Private Attributes | |
std::string | prefix |
std::string | section |
STRING_VECTOR | section_list |
STRING_VECTOR | argv |
unsigned | cursor |
bool | search_loop_f |
bool | search_failed_f |
std::set< std::string > | overridden_vars |
int | nominus_cursor |
std::vector< unsigned > | idx_nominus |
std::vector< variable > | variables |
std::string | _comment_start |
std::string | _comment_end |
std::string | _field_separator |
GETPOT_MUTEX_DECLARE | |
std::set< const char *, ltstr > | _internal_string_container |
std::set< std::string > | _requested_arguments |
std::set< std::string > | _requested_variables |
std::set< std::string > | _requested_sections |
bool | request_recording_f |
GetPot - A class for parsing comand line arguments and configuration files.
|
inline |
constructors, destructor, assignment operator
Definition at line 743 of file getpot.h.
References _basic_initialization().
|
inline |
Definition at line 976 of file getpot.h.
References _internal_string_container.
|
inline |
Definition at line 772 of file getpot.h.
References parse_command_line().
|
inline |
Definition at line 833 of file getpot.h.
References parse_input_file().
|
inline |
Definition at line 867 of file getpot.h.
References parse_input_file().
|
inline |
This constructor is mainly for testing. The std::string based constructor should be preferred.
Definition at line 912 of file getpot.h.
References parse_input_stream().
|
inline |
Definition at line 1018 of file getpot.h.
References _internal_string_container.
|
inlineprivate |
Definition at line 720 of file getpot.h.
Referenced by GetPot(), parse_command_line(), and parse_input_stream().
|
inlineprivate |
support search for flags in a specific argument
Definition at line 2155 of file getpot.h.
Referenced by argument_contains(), and options_contain().
|
inlinestaticprivate |
Definition at line 690 of file getpot.h.
Referenced by _DBE_expand().
|
inlineprivate |
type conversion if possible
Definition at line 1567 of file getpot.h.
Referenced by _DBE_expand(), direct_follow(), get(), next(), and operator()().
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
Definition at line 1632 of file getpot.h.
References getpot_cerr, getpot_error, and libMesh::Quality::name().
Referenced by get_value_no_default().
|
inlineprivate |
|
inline |
|
inlineprivate |
Definition at line 1670 of file getpot.h.
References getpot_cerr, getpot_error, and libMesh::Quality::name().
|
inlineprivate |
Definition at line 2926 of file getpot.h.
References _convert_from_type(), _convert_to_type(), _DBE_get_expr_list(), _DBE_get_variable(), getpot_cerr, getpot_error, std::max(), std::min(), GetPot::variable::name, GetPot::variable::original, libMesh::Utility::pow(), and size().
Referenced by _DBE_expand_string(), and _DBE_get_expr_list().
|
inlineprivate |
dollar bracket expressions
Definition at line 2768 of file getpot.h.
References _DBE_expand().
Referenced by _parse_argument_vector().
|
inlineprivate |
|
inlineprivate |
Definition at line 2892 of file getpot.h.
References _request_variable(), GetPot::variable::original, prefix, and section.
Referenced by _DBE_expand().
|
inlineprivate |
helpers for argument list processing search for a variable in 'variables' array
Definition at line 2655 of file getpot.h.
References prefix, and variables.
Referenced by _request_variable(), and _set_variable().
|
inlineprivate |
Definition at line 1366 of file getpot.h.
References _get_string(), _get_until_closing_bracket(), and _get_until_closing_square_bracket().
Referenced by _read_in_stream().
|
inlineprivate |
prefix extraction
Definition at line 1736 of file getpot.h.
Referenced by argument_contains(), get_variable_names(), next(), options_contain(), unidentified_arguments(), unidentified_flags(), unidentified_nominuses(), unidentified_options(), unidentified_sections(), and unidentified_variables().
|
inlinestaticprivate |
cuts a variable name into a tree of sub-sections. this is requested for recording requested sections when dealing with 'ufo' detection.
Definition at line 701 of file getpot.h.
Referenced by _record_argument_request(), and _record_variable_request().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
some functions return a char pointer to a temporarily existing string this function adds them to our container
Definition at line 1705 of file getpot.h.
References _internal_string_container, and SCOPED_MUTEX.
Referenced by direct_follow(), follow(), get_value_no_default(), next(), next_nominus(), and operator()().
|
inlineprivate |
support finding directly followed arguments
Definition at line 2057 of file getpot.h.
References argv, cursor, search_failed_f, and search_loop_f.
Referenced by direct_follow().
|
inlineprivate |
produce three basic data vectors:
Definition at line 1129 of file getpot.h.
References _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, SCOPED_MUTEX, section, and section_list.
Referenced by parse_command_line(), and parse_input_stream().
|
inlineprivate |
Definition at line 1510 of file getpot.h.
References victorate.
Referenced by _parse_argument_vector().
|
inlineprivate |
Definition at line 1232 of file getpot.h.
References _comment_start, _get_next_token(), and _skip_whitespace().
Referenced by 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
Definition at line 2454 of file getpot.h.
References _get_section_tree(), _requested_arguments, _requested_sections, request_recording_f, SCOPED_MUTEX, section, and victorate.
Referenced by argument_contains(), direct_follow(), next(), next_nominus(), next_nominus_string(), nominus_vector(), and search().
|
inlineprivate |
Definition at line 2476 of file getpot.h.
References _get_section_tree(), _requested_sections, _requested_variables, request_recording_f, SCOPED_MUTEX, section, and victorate.
Referenced by _request_variable().
|
inlineprivate |
search (and record request) for a variable in 'variables' array
Definition at line 2671 of file getpot.h.
References _find_variable(), and _record_variable_request().
Referenced by _DBE_get_variable(), _set_variable(), get_value_no_default(), have_variable(), operator()(), and vector_variable_size().
|
inlineprivate |
|
inlineprivate |
helper functions set variable from inside GetPot (no prefix considered)
Definition at line 2500 of file getpot.h.
References _field_separator, _find_variable(), _request_variable(), overridden_vars, and variables.
Referenced by _parse_argument_vector(), and 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) interprete sections like '[../my-section]' etc.
Definition at line 1304 of file getpot.h.
References _comment_end, and _comment_start.
Referenced by _read_in_stream().
|
inline |
absorbing contents of another GetPot object
Definition at line 1086 of file getpot.h.
References _requested_arguments, _requested_sections, _requested_variables, argv, request_recording_f, SCOPED_MUTEX, and variables.
|
inline |
Definition at line 2120 of file getpot.h.
References _check_flags(), _get_remaining_string(), _record_argument_request(), argv, and prefix.
|
inline |
for ufo detection: recording requested arguments, options etc.
Definition at line 1116 of file getpot.h.
References _requested_arguments, _requested_sections, _requested_variables, and SCOPED_MUTEX.
|
inline |
directly followed arguments
Definition at line 2028 of file getpot.h.
References _convert_to_type(), _match_starting_string(), _record_argument_request(), argv, and cursor.
Referenced by direct_follow().
|
inline |
Definition at line 2046 of file getpot.h.
References _internal_managed_copy(), and direct_follow().
|
inline |
enable/disable search for an option in loop
Definition at line 360 of file getpot.h.
Referenced by init_multiple_occurrence().
|
inline |
|
inline |
Definition at line 1958 of file getpot.h.
References _internal_managed_copy(), and follow().
|
inline |
search for one of the given options and get argument that follows it
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1883 of file getpot.h.
References _convert_to_type(), and argv.
|
inline |
|
inline |
Accessors for requested variables
Definition at line 3881 of file getpot.h.
References _requested_arguments.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
access varibles, but error out if not present scalar values
Definition at line 2366 of file getpot.h.
References _convert_to_type_no_default(), _request_variable(), getpot_cerr, getpot_error, and GetPot::variable::original.
Referenced by get_value_no_default().
|
inline |
Definition at line 2382 of file getpot.h.
References get_value_no_default().
|
inline |
Definition at line 2390 of file getpot.h.
References _internal_managed_copy(), and get_value_no_default().
|
inline |
Definition at line 2398 of file getpot.h.
References get_value_no_default().
|
inline |
vectors
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 2407 of file getpot.h.
References _convert_to_type_no_default(), _request_variable(), GetPot::variable::get_element(), getpot_cerr, and getpot_error.
|
inline |
Definition at line 2430 of file getpot.h.
References get_value_no_default().
|
inline |
Definition at line 2573 of file getpot.h.
References _get_remaining_string(), prefix, and variables.
|
inline |
|
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.
Definition at line 2262 of file getpot.h.
References section_list.
|
inline |
variables check for a variable
Definition at line 2236 of file getpot.h.
References _request_variable().
Referenced by have_variable().
|
inline |
|
inline |
|
inline |
get argument at cursor++
Definition at line 1913 of file getpot.h.
References _convert_to_type(), _get_remaining_string(), _record_argument_request(), argv, cursor, prefix, and search_failed_f.
Referenced by follow(), and next().
|
inline |
Definition at line 1935 of file getpot.h.
References _internal_managed_copy(), and next().
|
inline |
Definition at line 2189 of file getpot.h.
References _internal_managed_copy(), _record_argument_request(), argv, idx_nominus, and nominus_cursor.
|
inline |
Definition at line 2206 of file getpot.h.
References _record_argument_request(), argv, idx_nominus, and nominus_cursor.
|
inline |
Definition at line 2170 of file getpot.h.
References _record_argument_request(), argv, and idx_nominus.
|
inline |
scalar values
Definition at line 2284 of file getpot.h.
References _convert_to_type(), _request_variable(), and GetPot::variable::original.
Referenced by operator()().
|
inline |
Definition at line 2299 of file getpot.h.
References operator()().
|
inline |
Definition at line 2307 of file getpot.h.
References _internal_managed_copy().
|
inline |
Definition at line 2315 of file getpot.h.
References operator()().
|
inline |
vectors
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 2324 of file getpot.h.
References _convert_to_type(), _request_variable(), and GetPot::variable::get_element().
|
inline |
Definition at line 2341 of file getpot.h.
References operator()().
Definition at line 1030 of file getpot.h.
References _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, and variables.
Referenced by GetPot::variable::variable().
|
inline |
direct access to command line arguments
Definition at line 1874 of file getpot.h.
References argv, and libMesh::MeshTools::Generation::Private::idx().
|
inline |
flags
Definition at line 2101 of file getpot.h.
References _check_flags(), _get_remaining_string(), argv, and prefix.
|
inline |
Re-initialization methods
Definition at line 804 of file getpot.h.
References _basic_initialization(), _field_separator, and _parse_argument_vector().
Referenced by GetPot().
|
inline |
Definition at line 897 of file getpot.h.
References getpot_file_error, and parse_input_stream().
Referenced by _parse_argument_vector(), and GetPot().
|
inline |
Definition at line 945 of file getpot.h.
References _basic_initialization(), _comment_end, _comment_start, _field_separator, _parse_argument_vector(), and _read_in_stream().
Referenced by GetPot(), and parse_input_file().
|
inline |
|
inline |
|
inline |
reset cursor to position '1'
Definition at line 1852 of file getpot.h.
References cursor, and search_failed_f.
Referenced by init_multiple_occurrence().
|
inline |
|
inline |
search for a certain option and set cursor to position
Definition at line 1763 of file getpot.h.
References _record_argument_request(), argv, cursor, prefix, search_failed_f, and search_loop_f.
Referenced by follow(), and search().
|
inline |
|
inline |
Definition at line 1806 of file getpot.h.
References _record_argument_request(), and search().
|
inline |
setting variables i) from outside of GetPot (considering prefix etc.) ii) from inside, use '_set_variable()' below
Definition at line 2519 of file getpot.h.
References _set_variable().
Referenced by set().
|
inline |
Definition at line 2530 of file getpot.h.
References set().
|
inline |
Definition at line 2538 of file getpot.h.
References _set_variable().
|
inline |
Definition at line 2546 of file getpot.h.
References set().
|
inline |
|
inline |
|
inline |
unidentified flying objects
Definition at line 3444 of file getpot.h.
References unidentified_arguments().
|
inline |
Definition at line 3484 of file getpot.h.
References _get_remaining_string(), argv, and prefix.
|
inline |
Definition at line 3474 of file getpot.h.
References unidentified_arguments().
|
inline |
Definition at line 3466 of file getpot.h.
References _requested_arguments.
Referenced by unidentified_arguments(), and unidentified_options().
|
inline |
Definition at line 3582 of file getpot.h.
References _get_remaining_string(), argv, and prefix.
|
inline |
Definition at line 3779 of file getpot.h.
References unidentified_nominuses().
|
inline |
Definition at line 3830 of file getpot.h.
References _get_remaining_string(), argv, and prefix.
|
inline |
Definition at line 3820 of file getpot.h.
References unidentified_nominuses().
|
inline |
Definition at line 3805 of file getpot.h.
References _requested_arguments.
Referenced by unidentified_nominuses().
|
inline |
|
inline |
Definition at line 3552 of file getpot.h.
References _get_remaining_string(), argv, and prefix.
|
inline |
|
inline |
Definition at line 3528 of file getpot.h.
References _requested_arguments, and unidentified_arguments().
Referenced by unidentified_options().
|
inline |
|
inline |
Definition at line 3757 of file getpot.h.
References _get_remaining_string(), prefix, section_list, and victorate.
|
inline |
|
inline |
Definition at line 3739 of file getpot.h.
References _requested_sections.
Referenced by unidentified_sections().
|
inline |
Definition at line 3646 of file getpot.h.
References unidentified_variables().
|
inline |
Definition at line 3678 of file getpot.h.
References _get_remaining_string(), prefix, variables, and victorate.
|
inline |
Definition at line 3668 of file getpot.h.
References unidentified_variables().
|
inline |
Definition at line 3699 of file getpot.h.
References _requested_variables.
Referenced by unidentified_variables().
|
inline |
Definition at line 2554 of file getpot.h.
References _request_variable(), and GetPot::variable::value.
Referenced by vector_variable_size().
|
inline |
Definition at line 2565 of file getpot.h.
References vector_variable_size().
|
private |
Definition at line 536 of file getpot.h.
Referenced by _parse_argument_vector(), _skip_whitespace(), operator=(), and parse_input_stream().
|
private |
comment delimiters
Definition at line 535 of file getpot.h.
Referenced by _parse_argument_vector(), _read_in_stream(), _skip_whitespace(), operator=(), and parse_input_stream().
|
private |
field separator (separating elements of a vector)
Definition at line 541 of file getpot.h.
Referenced by _parse_argument_vector(), _set_variable(), operator=(), parse_command_line(), and 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
Definition at line 567 of file getpot.h.
Referenced by _internal_managed_copy(), GetPot(), operator=(), and ~GetPot().
|
mutableprivate |
keeping track about arguments that are requested, so that the UFO detection can be simplified
Definition at line 579 of file getpot.h.
Referenced by _parse_argument_vector(), _record_argument_request(), absorb(), clear_requests(), get_requested_arguments(), operator=(), unidentified_arguments(), unidentified_nominuses(), and unidentified_options().
|
mutableprivate |
Definition at line 581 of file getpot.h.
Referenced by _record_argument_request(), _record_variable_request(), absorb(), clear_requests(), get_requested_sections(), operator=(), and unidentified_sections().
|
mutableprivate |
Definition at line 580 of file getpot.h.
Referenced by _record_variable_request(), absorb(), clear_requests(), get_requested_variables(), operator=(), and unidentified_variables().
|
private |
argument vector
Definition at line 515 of file getpot.h.
Referenced by _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(), and unidentified_options().
|
private |
Definition at line 516 of file getpot.h.
Referenced by _match_starting_string(), direct_follow(), next(), operator=(), reset_cursor(), and search().
|
private |
|
private |
Definition at line 525 of file getpot.h.
Referenced by _parse_argument_vector(), next_nominus(), next_nominus_string(), nominus_vector(), and operator=().
|
private |
nominus vector
Definition at line 524 of file getpot.h.
Referenced by next_nominus(), next_nominus_string(), operator=(), and reset_nominus_cursor().
|
private |
Definition at line 519 of file getpot.h.
Referenced by _set_variable(), get_overridden_variables(), and operator=().
|
private |
member variables
Definition at line 508 of file getpot.h.
Referenced by _DBE_get_variable(), _find_variable(), argument_contains(), get_variable_names(), next(), operator=(), options_contain(), search(), unidentified_arguments(), unidentified_flags(), unidentified_nominuses(), unidentified_options(), unidentified_sections(), and unidentified_variables().
|
private |
Definition at line 583 of file getpot.h.
Referenced by _parse_argument_vector(), _record_argument_request(), _record_variable_request(), absorb(), and operator=().
|
private |
Definition at line 518 of file getpot.h.
Referenced by _match_starting_string(), next(), operator=(), reset_cursor(), and search().
|
private |
Definition at line 517 of file getpot.h.
Referenced by _match_starting_string(), operator=(), and search().
|
private |
Definition at line 509 of file getpot.h.
Referenced by _DBE_get_variable(), _parse_argument_vector(), _record_argument_request(), _record_variable_request(), and operator=().
|
private |
Definition at line 510 of file getpot.h.
Referenced by _parse_argument_vector(), get_section_names(), get_subsection_names(), have_section(), operator=(), and unidentified_sections().
|
private |
variables (arguments of the form "variable=value")
Definition at line 530 of file getpot.h.
Referenced by _find_variable(), _set_variable(), absorb(), get_variable_names(), operator=(), and unidentified_variables().