IIndexMapSetFactory.hpp
1 #ifndef DM_IINDEX_MAP_SET_FACTORY_HPP_INCLUDED
2 #define DM_IINDEX_MAP_SET_FACTORY_HPP_INCLUDED
3 
4 #ifdef _MSC_VER
5  #pragma once
6 #endif
7 
8 #include "DM/config.hpp"
9 #include "DM/IIndexMapSet.hpp"
10 
11 DM_NAMESPACE_BEGIN
12 
13 /// \brief Interface to a set of index map objects
14 class DM_API IIndexMapSetFactory : public ObjectBase
15 {
16 public:
17  static IIndexMapSetFactory* New();
18 
19  // General member functions ====================================================================
20  /// add an ordered index map
21  virtual void addRandomIndexMap(const int mapValue, int64_t valuesToAdd, int64_t maximumIndexValue) = 0;
22 
23  virtual IndexMapSetHandle getIndexMapSet(bool clear = true) = 0;
24 };
25 
27 
28 DM_NAMESPACE_END
29 
30 
31 #endif //DM_IINDEX_MAP_SET_FACTORY_HPP_INCLUDED