Lines Matching defs:line
47 // Read an entire line at a time
48 String line;
51 line = nextline; // we read ahead; use it now
56 //std::getline(ist_, line);
57 safeGetline(ist_, line);
61 line = line.substr(0, line.find(comment));
62 line.trim();
65 if((sentry != "") && (line.find(sentry) != String::npos)) return;
67 if(line.length() == 0)
70 // Parse the line if it contains a delimiter
71 pos delimPos = line.find(delimiter);
72 ASSERT((delimPos < String::npos), "Invalid config line: '" + line + "'");
75 String key = line.substr(0, delimPos);
76 line.replace(0, delimPos+skip, "");
78 // See if value continues on the next line
79 // Stop at blank line, next line with a key, end of stream,
84 if(line.at(line.size() - 1) == '\\')
85 line.erase(line.size() - 1);
105 //if(nlcopy != "") line += "\n";
106 line += nextline;
113 line.trim();
114 config[key] = line; // overwrites if key is repeated