diff options
Diffstat (limited to 'src/base/inifile.hh')
-rw-r--r-- | src/base/inifile.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base/inifile.hh b/src/base/inifile.hh index b4892d60a..447ec7c0f 100644 --- a/src/base/inifile.hh +++ b/src/base/inifile.hh @@ -184,6 +184,12 @@ class IniFile bool find(const std::string §ion, const std::string &entry, std::string &value) const; + /// Determine whether the entry exists within named section exists + /// in the .ini file. + /// @return True if the section exists. + bool entryExists(const std::string §ion, + const std::string &entry) const; + /// Determine whether the named section exists in the .ini file. /// Note that the 'Section' class is (intentionally) not public, /// so all clients can do is get a bool that says whether there |