Deleted Added
sdiff udiff text old ( 9550:e0e2c8f83d08 ) new ( 10385:3f943443ae30 )
full compact
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;

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

275 unref = true;
276 }
277 }
278
279 return unref;
280}
281
282
283void
284IniFile::getSectionNames(vector<string> &list) const
285{
286 for (SectionTable::const_iterator i = table.begin();
287 i != table.end(); ++i)
288 {
289 list.push_back((*i).first);
290 }
291}
292
293bool
294IniFile::printUnreferenced()
295{
296 bool unref = false;
297
298 for (SectionTable::iterator i = table.begin();
299 i != table.end(); ++i) {
300 const string &sectionName = i->first;

--- 38 unchanged lines hidden ---