Lines Matching refs:valueName
93 string valueName = line.substr(0, pLeft); in readFile() local
95 addValue(keyName, valueName, value); in readFile()
159 int Configurator::findValue(unsigned int keyID, string valueName) const in findValue()
168 if(sections[keyID].names[valueID] == valueName) in findValue()
184 void Configurator::addValue(string const keyName, string const valueName, string const value) in addValue() argument
193 int valueID = findValue(keyID, valueName); in addValue()
197 sections[keyID].names.resize(sections[keyID].names.size() + 1, valueName); in addValue()
206 string Configurator::getValue(string keyName, string valueName, string defaultValue) const in getValue() argument
210 int valueID = findValue((unsigned int)keyID, valueName); in getValue()
216 int Configurator::getInteger(string keyName, string valueName, int defaultValue) const in getInteger() argument
222 return atoi(getValue(keyName, valueName, svalue).c_str()); in getInteger()
225 bool Configurator::getBoolean(string keyName, string valueName, bool defaultValue) const in getBoolean() argument
227 return getInteger(keyName, valueName, (int)defaultValue) != 0; in getBoolean()
230 double Configurator::getFloat(string keyName, string valueName, double defaultValue) const in getFloat() argument
236 return atof(getValue(keyName, valueName, svalue).c_str()); in getFloat()
239 unsigned int Configurator::getFormatted(string keyName, string valueName, char *format, in getFormatted() argument
245 string value = getValue(keyName, valueName); in getFormatted()