|
UniSet
2.2.1
|
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 bool _dumpingToDB = false ); 00019 00020 virtual ~NullController(); 00021 00022 protected: 00023 00024 virtual void dumpToDB(); 00025 00026 // bool readSItem( UniXML& xml, UniXML::iterator& it, xmlNode* sec, NCRestorer::SInfo& inf ); 00027 // bool readTItem( UniXML& xml, UniXML::iterator& it, xmlNode* sec); 00028 // bool readCItem( UniXML& xml, UniXML::iterator& it, xmlNode* sec); 00029 00030 private: 00031 bool dumpingToDB; 00032 00033 }; 00034 // -------------------------------------------------------------------------- 00035 #endif // NullController_H_ 00036 // --------------------------------------------------------------------------
1.7.6.1