Show
Ignore:
Timestamp:
11/17/09 00:54:28 (15 years ago)
Author:
smidl
Message:

logger now has ability to store settings - used in estimator. New mexfunction epdf_mean

Files:
1 modified

Legend:

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

    r710 r728  
    441441        } 
    442442 
     443//! The new instance of type T* is constructed and initialized with values stored in the given Setting  
     444//! 
     445//! Handy in mex files. Use with care. 
     446template<class T> 
     447static shared_ptr<T> build ( const Setting &element, SettingPresence settingPresence = optional ) {      
     448        shared_ptr<T> instance; 
     449        from_setting<T> ( instance,  element  ); 
     450        return instance; 
     451} 
     452 
    443453        //!@} 
    444454