- Timestamp:
- Jan 1, 2006, 2:49:31 PM (19 years ago)
- Location:
- branches/preferences/src/lib/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/preferences/src/lib/util/preferences.cc
r6380 r6381 217 217 return defaultValue; 218 218 } 219 220 /** 221 * prints out all section with its items and values 222 */ 223 void Preferences::debug() 224 { 225 std::list<prefSection>::iterator it = data.begin(); 226 227 for ( ; it!=data.end(); it++) 228 { 229 PRINTF(0)("%s\n", it->sectionName); 230 std::list<prefItem>::iterator it2 = it->items.begin(); 231 232 for ( ; it2!=it->items.begin(); it2++) 233 { 234 PRINTF(0)("--> %s = '%s'\n", it2->name, it2->value.getString()); 235 } 236 } 237 } 238 239 -
branches/preferences/src/lib/util/preferences.h
r6380 r6381 46 46 47 47 48 void debug(); 49 50 48 51 private: 49 52 Preferences(void);
Note: See TracChangeset
for help on using the changeset viewer.