Changeset 340

Show
Ignore:
Timestamp:
05/14/09 09:21:12 (15 years ago)
Author:
mido
Message:

drobny patch libBM.h

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bdm/stat/libBM.h

    r339 r340  
    1616 
    1717#include "../itpp_ext.h" 
     18#include "libconfig/libconfig.h++" 
    1819#include <map> 
    1920 
    20 namespace bdm { 
     21using namespace libconfig; 
     22 
    2123using namespace itpp; 
    2224using namespace std; 
    23 using namespace libconfig; 
     25 
     26namespace bdm { 
    2427 
    2528//! Root class of BDM objects 
     29 
    2630class bdmroot { 
    2731public: 
    2832        //! make sure this is a virtual object 
    29         virtual ~bdmroot() {} 
     33        virtual ~bdmroot()  
     34        { 
     35        } 
     36 
     37        virtual string ToString() 
     38        { 
     39                return ""; 
     40        } 
    3041 
    3142        //! This method arrange instance properties according the data stored in the Setting structure 
    32         virtual void FromSetting( Setting &element ) 
     43        virtual void FromSetting( Setting &root ) 
    3344        { 
    3445        } 
    3546 
    3647        //! This method save all the instance properties into the Setting structure  
    37         virtual void ToSetting( Setting &element )  
     48        virtual void ToSetting( Setting &root )  
    3849        {        
    3950        }