|
XGCa
|
#include <iostream>#include <sstream>#include <fstream>#include <string>#include <vector>#include <algorithm>#include <cctype>

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