summaryrefslogtreecommitdiff
path: root/src/base/inifile.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/inifile.hh')
-rw-r--r--src/base/inifile.hh6
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 &section, 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 &section,
+ 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