diff options
| author | Marius Nita <marius@cs.pdx.edu> | 2002-08-26 15:00:14 +0000 |
|---|---|---|
| committer | Marius Nita <marius@cs.pdx.edu> | 2002-08-26 15:00:14 +0000 |
| commit | a95a6bd8e81a6bcc9db8abbbb3c0c78f087733f4 (patch) | |
| tree | 7380ce892ce084fd237e4db4d22ebd4d65934f55 /util/epist/config.cc | |
| parent | afa215efb64b0e390ced816373a444fafe9c70b0 (diff) | |
Fixed goof in config interface. All the functions are now named getValue(), since they have different signatures.
Diffstat (limited to 'util/epist/config.cc')
| -rw-r--r-- | util/epist/config.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |
