inifile.hh (5544:65b27e939646) inifile.hh (10385:3f943443ae30)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 178 unchanged lines hidden (view full) ---

187
188 /// Determine whether the named section exists in the .ini file.
189 /// Note that the 'Section' class is (intentionally) not public,
190 /// so all clients can do is get a bool that says whether there
191 /// are any values in that section or not.
192 /// @return True if the section exists.
193 bool sectionExists(const std::string &section) const;
194
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 178 unchanged lines hidden (view full) ---

187
188 /// Determine whether the named section exists in the .ini file.
189 /// Note that the 'Section' class is (intentionally) not public,
190 /// so all clients can do is get a bool that says whether there
191 /// are any values in that section or not.
192 /// @return True if the section exists.
193 bool sectionExists(const std::string &section) const;
194
195 /// Push all section names into the given vector
196 void getSectionNames(std::vector<std::string> &list) const;
197
195 /// Print unreferenced entries in object. Iteratively calls
196 /// printUnreferend() on all the constituent sections.
197 bool printUnreferenced();
198
199 /// Dump contents to cout. For debugging.
200 void dump();
201};
202
203#endif // __INIFILE_HH__
198 /// Print unreferenced entries in object. Iteratively calls
199 /// printUnreferend() on all the constituent sections.
200 bool printUnreferenced();
201
202 /// Dump contents to cout. For debugging.
203 void dump();
204};
205
206#endif // __INIFILE_HH__