Show
Ignore:
Timestamp:
05/14/10 12:16:00 (14 years ago)
Author:
mido
Message:

the functionality of user info was improved, it supports an initialization of root descendant via UI::get directly, however it is save only for static attributes, for dynamically allocated attributes UI::build should be called to handle with intahrence issues

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/bdmroot.cpp

    r907 r942  
    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  
    166        void UI_DBG (const  Setting &S, const string &spc, ostream &out =cout){ 
    177                const char *Name=S.getName();