Lines Matching refs:valueID
135 for(unsigned int valueID = 0; valueID < sections[keyID].names.size(); valueID++) in writeFile() local
137 file << sections[keyID].names[valueID] << "=" << sections[keyID].values[valueID] << endl; in writeFile()
166 for(unsigned int valueID = 0; valueID < sections[keyID].names.size(); ++valueID) in findValue() local
168 if(sections[keyID].names[valueID] == valueName) in findValue()
170 return valueID; in findValue()
194 int valueID = findValue(keyID, valueName); in addValue() local
196 if(valueID == -1) in addValue()
203 sections[keyID].values[valueID] = value; in addValue()
211 int valueID = findValue((unsigned int)keyID, valueName); in getValue() local
212 if(valueID == -1) return defaultValue; in getValue()
214 return sections[keyID].values[valueID]; in getValue()