Changeset 821 for library/bdm/base

Show
Ignore:
Timestamp:
02/23/10 10:17:00 (14 years ago)
Author:
smidl
Message:

UI change!!! Allow reading classes with from_setting method -- check for correctness

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/user_info.h

    r795 r821  
    385385        template<class T> static void from_setting ( T &variable_to_load, const Setting &element ) { 
    386386                std::string msg = "UIException: from_setting is not implemented for type "; 
     387//              try{ 
     388                        variable_to_load.from_setting(element); 
     389/*              } catch (...){ 
    387390                msg += typeid ( T ).name(); 
    388391                msg += '.'; 
    389392                throw UISettingException ( msg, element ); 
     393                }*/ 
    390394        } 
    391395