XGCa
|
Classes | |
struct | Param |
struct | NameList |
class | NamelistReader |
Enumerations | |
enum | Expect { Ampersand =0, NLName, ParaNameOrEnd, Equals, Value, ValueOrEOL } |
enum | ReadFrom { ReadFromFile =0, ReadFromString } |
enum | Create { CreateManually =0 } |
Functions | |
string & | ltrim (string &s, const char *t=" \t\n\r\f\v") |
string & | rtrim (string &s, const char *t=" \t\n\r\f\v") |
string & | trim (string &s, const char *t=" \t\n\r\f\v") |
static string | get_first_word (string &str, int start) |
static string | get_first_value (string &str, int start) |
static string | lower_case_copy (const string &str) |
template<typename T > | |
static T | string_to_param (string ¶m) |
template<> | |
bool | string_to_param< bool > (string ¶m) |
static void | change_D_to_E (string ¶m) |
template<> | |
int | string_to_param< int > (string ¶m) |
template<> | |
float | string_to_param< float > (string ¶m) |
template<> | |
double | string_to_param< double > (string ¶m) |
template<> | |
string | string_to_param< string > (string ¶m) |
template<typename T > | |
int | find_case_insensitive_name_match (vector< T > &vec, const string &str) |
enum NLReader::Create |
enum NLReader::Expect |
enum NLReader::ReadFrom |
|
inlinestatic |
int NLReader::find_case_insensitive_name_match | ( | vector< T > & | vec, |
const string & | str | ||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
bool NLReader::string_to_param< bool > | ( | string & | param | ) |
double NLReader::string_to_param< double > | ( | string & | param | ) |
float NLReader::string_to_param< float > | ( | string & | param | ) |
int NLReader::string_to_param< int > | ( | string & | param | ) |
string NLReader::string_to_param< string > | ( | string & | param | ) |
|
inline |