Changeset 942 for library/bdm/bdmroot.cpp
- Timestamp:
- 05/14/10 12:16:00 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/bdmroot.cpp
r907 r942 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 16 6 void UI_DBG (const Setting &S, const string &spc, ostream &out =cout){ 17 7 const char *Name=S.getName();