00001 
00013 #ifndef BDMROOT_H
00014 #define BDMROOT_H
00015 
00016 #include <string>
00017 
00018 #include "itpp_ext.h"
00019 #include "libconfig/libconfig.h++"
00020 
00021 using namespace libconfig;
00022 using namespace itpp;
00023 using namespace std;
00024 
00025 namespace bdm {
00026 
00028 class bdmroot {
00029 public:
00031         virtual ~bdmroot() 
00032         {
00033         }
00034 
00036         virtual string to_string()
00037         {
00038                 return "";
00039         }
00040 
00042         virtual void from_setting( const Setting &root )
00043         {
00044         }
00045 
00047         virtual void to_setting( Setting &root ) const
00048         {       
00049         }
00050 
00052         virtual void validate()
00053         {
00054         }
00055 
00056 };
00057 
00058 }; 
00059 #endif // BDMROOT_H