Changeset 340
- Timestamp:
- 05/14/09 09:21:12 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/stat/libBM.h
r339 r340 16 16 17 17 #include "../itpp_ext.h" 18 #include "libconfig/libconfig.h++" 18 19 #include <map> 19 20 20 namespace bdm { 21 using namespace libconfig; 22 21 23 using namespace itpp; 22 24 using namespace std; 23 using namespace libconfig; 25 26 namespace bdm { 24 27 25 28 //! Root class of BDM objects 29 26 30 class bdmroot { 27 31 public: 28 32 //! make sure this is a virtual object 29 virtual ~bdmroot() {} 33 virtual ~bdmroot() 34 { 35 } 36 37 virtual string ToString() 38 { 39 return ""; 40 } 30 41 31 42 //! 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 ) 33 44 { 34 45 } 35 46 36 47 //! This method save all the instance properties into the Setting structure 37 virtual void ToSetting( Setting & element )48 virtual void ToSetting( Setting &root ) 38 49 { 39 50 }