Changeset 907 for library/bdm/bdmroot.cpp
- Timestamp:
- 04/19/10 12:44:57 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/bdmroot.cpp
r769 r907 4 4 namespace bdm { 5 5 6 //! a general utility transforming a comma-separated sequence of strings into an instance of Array<strings> 7 Array<string> log_level_base::string2Array( const string &input ) 8 { 9 string result = input; 10 string::size_type loc; 11 while( loc = result.find( ',' ), loc != string::npos ) 12 result[loc] = ' '; 13 return Array<string>("{ " + result + " }" ); 14 } 15 6 16 void UI_DBG (const Setting &S, const string &spc, ostream &out =cout){ 7 17 const char *Name=S.getName();