Lines Matching refs:String
31 void readFile(const char *filename_, map<String, String> &config)
37 typedef String::size_type pos;
38 const String& delimiter = "=";
39 const String& comment = "#";
40 const String& sentry = "End";
43 String nextline = ""; // might need to read ahead to see where value ends
48 String line;
65 if((sentry != "") && (line.find(sentry) != String::npos)) return;
72 ASSERT((delimPos < String::npos), "Invalid config line: '" + line + "'");
75 String key = line.substr(0, delimPos);
93 String nlcopy = nextline;
98 //if(nextline.find(delim) != String::npos)
100 if((sentry != "") && (nextline.find(sentry) != String::npos))