Lines Matching refs:string
12 ValType phSolver::Input::GetValue(const string &str) const in GetValue()
37 phSolver::Input::Input(const string &fname, const string &default_fname) in Input()
49 input_text = new vector<string>; in Input()
50 input_map = new map<string,string>; in Input()
60 map<string,string> *default_map = new map<string,string>; in Input()
61 vector<string> *default_text = new vector<string>; in Input()
67 map<string,string>::const_iterator iter = default_map->begin(); in Input()
69 string defkey = iter->first; in Input()
70 string defval = iter->second; in Input()
98 map<string,string> phSolver::Input::InputMap() const in InputMap()
106 map<string,string>::const_iterator iter = input_map->begin(); in EchoInputMap()
114 void phSolver::Input::get_input_lines(vector<string> *text, ifstream &infile) in get_input_lines()
116 string textline; in get_input_lines()
127 void phSolver::Input::build_map(map<string,string> *inmap, in build_map() argument
128 vector<string> *intext) in build_map()
132 string textlineALL = (*intext)[i]; in build_map()
133 string textline; in build_map()
138 if ( pos != string::npos) { in build_map()
144 if ( pos != string::npos) { in build_map()
147 string keywd = textline.substr(0,pos); in build_map()
151 string keyval = textline.substr( pos+1, textline.length() - pos); in build_map()
162 void phSolver::Input::trim_string(string *str) in trim_string()