inifile.cc (10385:3f943443ae30) | inifile.cc (11655:6c21ab852ed2) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 216 unchanged lines hidden (view full) --- 225 return false; 226 227 value = entry->getValue(); 228 229 return true; 230} 231 232bool | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 216 unchanged lines hidden (view full) --- 225 return false; 226 227 value = entry->getValue(); 228 229 return true; 230} 231 232bool |
233IniFile::entryExists(const string §ionName, const string &entryName) const 234{ 235 Section *section = findSection(sectionName); 236 237 if (!section) 238 return false; 239 else 240 return section->findEntry(entryName); 241} 242 243bool |
|
233IniFile::sectionExists(const string §ionName) const 234{ 235 return findSection(sectionName) != NULL; 236} 237 238 239bool 240IniFile::Section::printUnreferenced(const string §ionName) --- 98 unchanged lines hidden --- | 244IniFile::sectionExists(const string §ionName) const 245{ 246 return findSection(sectionName) != NULL; 247} 248 249 250bool 251IniFile::Section::printUnreferenced(const string §ionName) --- 98 unchanged lines hidden --- |