LifeV
|
#include <GetPot.hpp>
Data Structures | |
struct | variable |
Public Member Functions | |
GetPot () | |
GetPot (const GetPot &) | |
GetPot (const int argc_, char **argv_, const char *FieldSeparator=0x0) | |
GetPot (const char *FileName, const char *CommentStart=0x0, const char *CommentEnd=0x0, const char *FieldSeparator=0x0) | |
template<typename STRING > | |
GetPot (const STRING &FileName, const char *CommentStart=0x0, const char *CommentEnd=0x0, const char *FieldSeparator=0x0) | |
~GetPot () | |
GetPot & | operator= (const GetPot &) |
GetPot (const STRING_VECTOR &FileNameList) | |
void | absorb (const GetPot &That) |
void | clear_requests () |
void | disable_request_recording () |
void | enable_request_recording () |
const std::string | operator[] (unsigned Idx) const |
int | get (unsigned Idx, int Default) const |
double | get (unsigned Idx, const double &Default) const |
const std::string | 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 | operator() (const char *VarName, bool Default) const |
int | operator() (const char *VarName, int Default) const |
double | operator() (const char *VarName, const double &Default) const |
const std::string | operator() (const char *VarName, const char *Default) const |
bool | operator() (const char *VarName, bool Default, bool &found) const |
int | operator() (const char *VarName, int Default, bool &found) const |
double | operator() (const char *VarName, const double &Default, bool &found) const |
const std::string | operator() (const char *VarName, const char *Default, bool &found) const |
bool | operator() (const char *VarName, bool Default, unsigned Idx) const |
int | operator() (const char *VarName, int Default, unsigned Idx) const |
double | operator() (const char *VarName, const double &Default, unsigned Idx) const |
const std::string | operator() (const char *VarName, const char *Default, unsigned Idx) const |
void | set (const char *VarName, const char *Value, const bool Requested=true) |
void | set (const char *VarName, const double &Value, const bool Requested=true) |
void | set (const char *VarName, const int Value, const bool Requested=true) |
bool | checkVariable (const char *VarName) const |
unsigned | vector_variable_size (const char *VarName) const |
STRING_VECTOR | get_variable_names () const |
STRING_VECTOR | get_section_names () 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 (unsigned No, const char *P,...) |
int | next (int Default) |
double | next (const double &Default) |
const std::string | next (const char *Default) |
int | follow (int Default, const char *Option) |
double | follow (const double &Default, const char *Option) |
const std::string | follow (const char *Default, const char *Option) |
int | follow (int Default, unsigned No, const char *Option,...) |
double | follow (const double &Default, unsigned No, const char *Option,...) |
const std::string | follow (const char *Default, unsigned No, const char *Option,...) |
std::vector< std::string > | nominus_followers (const char *Option) |
std::vector< std::string > | nominus_followers (unsigned No,...) |
int | direct_follow (int Default, const char *Option) |
double | direct_follow (const double &Default, const char *Option) |
const std::string | direct_follow (const char *Default, const char *Option) |
std::vector< std::string > | string_tails (const char *StartString) |
std::vector< int > | int_tails (const char *StartString, const int Default=1) |
std::vector< double > | double_tails (const char *StartString, const double Default=1.0) |
STRING_VECTOR | nominus_vector () const |
unsigned | nominus_size () const |
std::string | next_nominus () |
STRING_VECTOR | unidentified_arguments (unsigned Number, const char *Known,...) const |
STRING_VECTOR | unidentified_arguments (const STRING_VECTOR &Knowns) const |
STRING_VECTOR | unidentified_arguments () const |
STRING_VECTOR | unidentified_options (unsigned Number, const char *Known,...) const |
STRING_VECTOR | unidentified_options (const STRING_VECTOR &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 STRING_VECTOR &Knowns) const |
STRING_VECTOR | unidentified_variables () const |
STRING_VECTOR | unidentified_sections (unsigned Number, const char *Known,...) const |
STRING_VECTOR | unidentified_sections (const STRING_VECTOR &Knowns) const |
STRING_VECTOR | unidentified_sections () const |
STRING_VECTOR | unidentified_nominuses (unsigned Number, const char *Known,...) const |
STRING_VECTOR | unidentified_nominuses (const STRING_VECTOR &Knowns) const |
STRING_VECTOR | unidentified_nominuses () const |
int | print () const |
Private Member Functions | |
void | __basic_initialization () |
void | __record_argument_request (const std::string &Arg) |
void | __record_variable_request (const std::string &Arg) |
void | __set_variable (const char *VarName, const char *Value) |
void | __parse_argument_vector (const STRING_VECTOR &ARGV) |
const variable * | __find_variable (const char *) const |
const char * | __match_starting_string (const char *StartString) |
bool | __check_flags (const std::string &Str, const char *FlagList) const |
bool | __convert_to_type (const std::string &String, bool Default) const |
int | __convert_to_type (const std::string &String, int Default) const |
double | __convert_to_type (const std::string &String, double 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) |
STRING_VECTOR | __read_in_stream (std::istream &istr) |
STRING_VECTOR | __read_in_file (const char *FileName) |
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) |
std::string | __double2string (const double &Value) const |
std::string | __int2string (const int &Value) const |
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 |
int | nominus_cursor |
std::vector< unsigned > | idx_nominus |
std::vector< variable > | variables |
std::string | _comment_start |
std::string | _comment_end |
std::string | _field_separator |
std::vector< char * > | __internal_string_container |
STRING_VECTOR | _requested_arguments |
STRING_VECTOR | _requested_variables |
STRING_VECTOR | _requested_sections |
bool | __request_recording_f |
Definition at line 110 of file GetPot.hpp.
|
inline |
Definition at line 497 of file GetPot.hpp.
Definition at line 606 of file GetPot.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 574 of file GetPot.hpp.
|
inline |
Definition at line 612 of file GetPot.hpp.
|
inline |
|
inlineprivate |
|
inline |
Definition at line 660 of file GetPot.hpp.
|
inline |
Definition at line 675 of file GetPot.hpp.
|
inline |
Definition at line 143 of file GetPot.hpp.
|
inline |
Definition at line 147 of file GetPot.hpp.
|
inline |
Definition at line 1283 of file GetPot.hpp.
|
inline |
Definition at line 1289 of file GetPot.hpp.
Definition at line 1299 of file GetPot.hpp.
|
inline |
Definition at line 1309 of file GetPot.hpp.
|
inline |
Definition at line 1322 of file GetPot.hpp.
|
inline |
Definition at line 1896 of file GetPot.hpp.
|
inline |
Definition at line 1915 of file GetPot.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 2060 of file GetPot.hpp.
|
inline |
Definition at line 2074 of file GetPot.hpp.
Definition at line 2088 of file GetPot.hpp.
|
inline |
Definition at line 2101 of file GetPot.hpp.
|
inline |
Definition at line 2119 of file GetPot.hpp.
|
inline |
|
inline |
Definition at line 2171 of file GetPot.hpp.
|
inline |
|
inline |
Definition at line 2261 of file GetPot.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 2302 of file GetPot.hpp.
|
inline |
Definition at line 2318 of file GetPot.hpp.
|
inline |
Definition at line 207 of file GetPot.hpp.
|
inline |
Definition at line 211 of file GetPot.hpp.
|
inline |
|
inline |
Definition at line 221 of file GetPot.hpp.
|
inline |
|
inline |
Definition at line 1273 of file GetPot.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1418 of file GetPot.hpp.
Definition at line 1429 of file GetPot.hpp.
|
inline |
Definition at line 1440 of file GetPot.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 1544 of file GetPot.hpp.
|
inline |
Definition at line 1575 of file GetPot.hpp.
|
inline |
Definition at line 1611 of file GetPot.hpp.
Definition at line 1630 of file GetPot.hpp.
|
inline |
Definition at line 1649 of file GetPot.hpp.
|
inline |
Definition at line 1675 of file GetPot.hpp.
|
inline |
Definition at line 1731 of file GetPot.hpp.
Definition at line 1787 of file GetPot.hpp.
|
inline |
Definition at line 1968 of file GetPot.hpp.
|
inline |
Definition at line 260 of file GetPot.hpp.
|
inline |
Definition at line 1986 of file GetPot.hpp.
|
inline |
Definition at line 2920 of file GetPot.hpp.
|
inline |
|
inline |
Definition at line 2945 of file GetPot.hpp.
|
inline |
Definition at line 2975 of file GetPot.hpp.
|
inline |
|
inline |
Definition at line 3000 of file GetPot.hpp.
|
inline |
Definition at line 3055 of file GetPot.hpp.
|
inline |
Definition at line 3135 of file GetPot.hpp.
|
inline |
|
inline |
Definition at line 3183 of file GetPot.hpp.
|
inline |
Definition at line 3190 of file GetPot.hpp.
|
inline |
|
inline |
Definition at line 3224 of file GetPot.hpp.
|
inline |
Definition at line 3255 of file GetPot.hpp.
|
inline |
|
inline |
Definition at line 3284 of file GetPot.hpp.
|
inline |
Definition at line 2347 of file GetPot.hpp.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 1954 of file GetPot.hpp.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 1149 of file GetPot.hpp.
|
inlineprivate |
Definition at line 2907 of file GetPot.hpp.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 797 of file GetPot.hpp.
|
inlineprivate |
|
inlineprivate |
Definition at line 1043 of file GetPot.hpp.
|
inlineprivate |
Definition at line 2408 of file GetPot.hpp.
|
inlineprivate |
Definition at line 2577 of file GetPot.hpp.
|
inlineprivate |
Definition at line 2537 of file GetPot.hpp.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 434 of file GetPot.hpp.
|
inlineprivate |
|
private |
Definition at line 321 of file GetPot.hpp.
|
private |
Definition at line 322 of file GetPot.hpp.
|
private |
Definition at line 323 of file GetPot.hpp.
|
private |
Definition at line 325 of file GetPot.hpp.
|
private |
Definition at line 326 of file GetPot.hpp.
|
private |
Definition at line 327 of file GetPot.hpp.
|
private |
Definition at line 329 of file GetPot.hpp.
|
private |
Definition at line 333 of file GetPot.hpp.
|
private |
Definition at line 334 of file GetPot.hpp.
|
private |
Definition at line 338 of file GetPot.hpp.
|
private |
Definition at line 341 of file GetPot.hpp.
|
private |
Definition at line 342 of file GetPot.hpp.
|
private |
Definition at line 345 of file GetPot.hpp.
|
private |
Definition at line 349 of file GetPot.hpp.
|
private |
Definition at line 353 of file GetPot.hpp.
|
private |
Definition at line 354 of file GetPot.hpp.
|
private |
Definition at line 355 of file GetPot.hpp.
|
private |
Definition at line 357 of file GetPot.hpp.