From a95a6bd8e81a6bcc9db8abbbb3c0c78f087733f4 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Mon, 26 Aug 2002 15:00:14 +0000 Subject: Fixed goof in config interface. All the functions are now named getValue(), since they have different signatures. --- util/epist/config.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/epist/config.cc') diff --git a/util/epist/config.cc b/util/epist/config.cc index db9ecddd..3e99e135 100644 --- a/util/epist/config.cc +++ b/util/epist/config.cc @@ -46,7 +46,7 @@ Config::~Config() } -bool Config::getStringValue(Config::StringType type, string &ret) const +bool Config::getValue(Config::StringType type, string &ret) const { StringItemList::const_iterator it = string_items.begin(), end = string_items.end(); for (; it != end; ++it) { @@ -59,7 +59,7 @@ bool Config::getStringValue(Config::StringType type, string &ret) const } -bool Config::getNumberValue(Config::NumberType type, int &ret) const +bool Config::getValue(Config::NumberType type, int &ret) const { NumberItemList::const_iterator it = number_items.begin(), end = number_items.end(); for (; it != end; ++it) { @@ -72,7 +72,7 @@ bool Config::getNumberValue(Config::NumberType type, int &ret) const } -bool Config::getBoolValue(Config::BoolType type, bool &ret) const +bool Config::getValue(Config::BoolType type, bool &ret) const { BoolItemList::const_iterator it = bool_items.begin(), end = bool_items.end(); for (; it != end; ++it) { -- cgit v1.2.3