UniSet  2.6.0
NullController.h
1 // --------------------------------------------------------------------------
2 #ifndef NullController_H_
3 #define NullController_H_
4 // --------------------------------------------------------------------------
5 #include <string>
6 #include "IONotifyController.h"
7 #include "NCRestorer.h"
8 // --------------------------------------------------------------------------
11 {
12  public:
13  NullController( uniset::ObjectId id, const std::string& restorfile,
14  const std::string& s_filterField = "",
15  const std::string& s_filterValue = "",
16  const std::string& c_filterField = "",
17  const std::string& c_filterValue = "",
18  bool _dumpingToDB = false );
19 
20  virtual ~NullController();
21 
22  protected:
23 
24  virtual void dumpToDB();
25 
26  // bool readSItem( UniXML& xml, UniXML::iterator& it, xmlNode* sec, NCRestorer::SInfo& inf );
27  // bool readTItem( UniXML& xml, UniXML::iterator& it, xmlNode* sec);
28  // bool readCItem( UniXML& xml, UniXML::iterator& it, xmlNode* sec);
29 
30  private:
31  bool dumpingToDB;
32 
33 };
34 // --------------------------------------------------------------------------
35 #endif // NullController_H_
36 // --------------------------------------------------------------------------