UniSet
1.4.0
|
00001 // -------------------------------------------------------------------------- 00002 #ifndef NullController_H_ 00003 #define NullController_H_ 00004 // -------------------------------------------------------------------------- 00005 #include <string> 00006 #include "IONotifyController.h" 00007 #include "NCRestorer.h" 00008 // -------------------------------------------------------------------------- 00009 class NullController: 00010 public IONotifyController 00011 { 00012 public: 00013 NullController( UniSetTypes::ObjectId id, const std::string restorfile, 00014 const std::string s_filterField="", 00015 const std::string s_filterValue="", 00016 const std::string c_filterField="", 00017 const std::string c_filterValue="", 00018 const std::string d_filterField="", 00019 const std::string d_filterValue="", 00020 bool _dumpingToDB=false ); 00021 00022 virtual ~NullController(); 00023 00024 protected: 00025 00026 virtual void dumpToDB(); 00027 00028 // bool readSItem( UniXML& xml, UniXML_iterator& it, xmlNode* sec, NCRestorer::SInfo& inf ); 00029 // bool readTItem( UniXML& xml, UniXML_iterator& it, xmlNode* sec); 00030 // bool readCItem( UniXML& xml, UniXML_iterator& it, xmlNode* sec); 00031 00032 private: 00033 bool dumpingToDB; 00034 00035 }; 00036 // -------------------------------------------------------------------------- 00037 #endif // NullController_H_ 00038 // --------------------------------------------------------------------------