IIndexHelperSetFactory.hpp
1 #ifndef DM_IINDEX_HELPER_SET_FACTORY_HPP_INCLUDED
2 #define DM_IINDEX_HELPER_SET_FACTORY_HPP_INCLUDED
3 
4 #ifdef _MSC_VER
5  #pragma once
6 #endif
7 
8 
9 #include "DM/config.hpp"
10 #include "DM/IIndexHelperSet.hpp"
11 
12 DM_NAMESPACE_BEGIN
13 
14 
15 class DM_API IIndexHelperSetFactory : public ObjectBase
16 {
17 public:
18  static IIndexHelperSetFactory* New();
19 
20 protected:
21  virtual ~IIndexHelperSetFactory() {}
22 
23 public:
24  /// \brief clear added entries from the factory
25  virtual void addId(const int id) = 0;
26 
27  /// get IndexHelperSet object
28  virtual IndexHelperSetHandle getIndexHelperSet(bool clear = true) = 0;
29 };
30 
32 
33 
34 DM_NAMESPACE_END
35 
36 #endif //DM_IINDEX_HELPER_SET_FACTORY_HPP_INCLUDED