Include dependency graph for convert.cpp:
Go to the source code of this file.
Functions | |
double | stod (string instring) |
A function that converts a string to a double precision number. | |
float | stof (string instring) |
A function that converts a string to a single precision number. | |
int | stoi (string instring) |
A function that converts a string to an integer. | |
string | remove_leading_blanks (string instring) |
A function that removes the leading blanks of a string. | |
string | remove_trailing_blanks (string instring) |
A function that removes the trailing blanks of a string. | |
string | remove_extra_blanks (string instring) |
A function that removes extra blanks in a string. | |
string | remove_all_blanks (string instring) |
A function that removes all blanks in a string. | |
vector< string > | split (const string &s, const string pattern) |
string | join (const vector< string > &ls, const string pattern) |
joins a list of strings using "pattern" as glue | |
string | tolower (const string &s) |
A function that lower-cases strings. | |
string | operator * (int i, const string x) |
i copies of a string x pasted together | |
string | center (const string stuff, int len) |
center a string in a field of a certain length | |
string | ljust (const string stuff, int len) |
left justify a string in a field of a certain length | |
string | rjust (string stuff, int len) |
right justify a string in a field of a certain length |
Definition in file convert.cpp.
|
Definition at line 248 of file convert.cpp. Referenced by main(), GlobalParameterClass::read_command_line(), and MessageLogger::write(). |
|
Definition at line 218 of file convert.cpp. |
|
Definition at line 257 of file convert.cpp. Referenced by MessageLogger::write(). |
|
Definition at line 241 of file convert.cpp. |
|
Definition at line 184 of file convert.cpp. Referenced by bdflsClass::read_sections(). |
|
Definition at line 165 of file convert.cpp. References remove_leading_blanks(), and remove_trailing_blanks(). Referenced by GlobalParameterClass::read_file(), and GlobalParameterClass::set(). |
|
Definition at line 137 of file convert.cpp. Referenced by remove_extra_blanks(). |
|
Definition at line 151 of file convert.cpp. Referenced by remove_extra_blanks(). |
|
Definition at line 264 of file convert.cpp. Referenced by operator<<(). |
|
splits a string at all occurances of "pattern" and returns the substrings in a list Definition at line 199 of file convert.cpp. Referenced by bdflsClass::read_sections(). |
|
Definition at line 41 of file convert.cpp. References SevereError(), and tolower(). Referenced by read_d(), Kalbach_data::read_data(), read_dd(), read_ddd(), read_dddddd(), read_ddiiii(), read_idiiii(), read_iiiddddd(), read_iiidiiddd(), bdflsClass::read_sections(), stof(), and stoi(). |
|
Definition at line 123 of file convert.cpp. References stod(). Referenced by GlobalParameterClass::Value(). |
|
Definition at line 130 of file convert.cpp. References stod(). Referenced by b6stream::get_MAT_MF_MT_NS(), read_date(), read_ddiiii(), read_idiiii(), read_ii(), read_iiiddddd(), read_iiidiiddd(), and bdflsClass::read_sections(). |
|
Definition at line 232 of file convert.cpp. Referenced by GlobalParameterClass::Flag(), GlobalParameterClass::set(), stod(), and GlobalParameterClass::Value(). |