diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2003-11-03 20:35:05 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2003-11-03 20:35:05 -0800 |
commit | e4b52476bc00fe8c0115ee5ec6e9551447cb04a3 (patch) | |
tree | 0671e5be86419c60743915af2f3503fa6de28ac4 /base/inifile.cc | |
parent | 02795babaf52cbf6f8c29bbb2aecfc0e60b46b63 (diff) | |
parent | 29474bdf027fe3396e0be2f6acbe2a6b89136bc2 (diff) | |
download | gem5-e4b52476bc00fe8c0115ee5ec6e9551447cb04a3.tar.xz |
Automerge
--HG--
extra : convert_revision : 2ca18ecbf04a1de72391073d0a5309fdbbdfefda
Diffstat (limited to 'base/inifile.cc')
-rw-r--r-- | base/inifile.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/base/inifile.cc b/base/inifile.cc index 7e7485bcb..2717a534d 100644 --- a/base/inifile.cc +++ b/base/inifile.cc @@ -402,6 +402,14 @@ IniFile::findAppend(const string &_section, const string &entry, return ret; } + +bool +IniFile::sectionExists(const string §ionName) const +{ + return findSection(sectionName) != NULL; +} + + bool IniFile::Section::printUnreferenced(const string §ionName) { |