Changeset 769 for library/bdm/bdmroot.h
- Timestamp:
- 01/12/10 20:25:33 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/bdmroot.h
r766 r769 27 27 namespace bdm { 28 28 29 30 //! auxiliary function for debugging 31 void UI_DBG (const Setting &S, const string &spc, ostream &out ); 32 29 33 //forward declaration 30 34 class logger; … … 74 78 } 75 79 76 //! Returns abasic textual info about the current instance80 //! Returns basic textual info about the current instance 77 81 virtual string to_string() const { 78 return ""; 82 Config C; 83 Setting &set=C.getRoot(); 84 this->to_setting(set); 85 ostringstream os; 86 UI_DBG(set, "", os); 87 return os.str(); 79 88 } 80 89 //! Register itself in a logger, i.e. allocate space for data from this class