Show
Ignore:
Timestamp:
04/19/10 12:44:57 (14 years ago)
Author:
mido
Message:

LOG LEVEL improved and hopefully finished

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/bdmroot.cpp

    r769 r907  
    44namespace bdm { 
    55         
     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 
    616        void UI_DBG (const  Setting &S, const string &spc, ostream &out =cout){ 
    717                const char *Name=S.getName();