All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IndoorMapFloorOutlineRepository.h
1 // Copyright eeGeo Ltd (2012-2019), All Rights Reserved
2 
3 #pragma once
4 
5 #include "IndoorMapFloorOutlineInformation.h"
6 #include "Types.h"
7 
8 #include <unordered_map>
9 
10 namespace Eegeo
11 {
12  namespace IndoorMapFloorOutlineInformation
13  {
15  {
16  public:
18 
20 
21  void Add(IndoorMapFloorOutlineInformationModelId id, const IndoorMapFloorOutline& interiorsFloorOutline);
22 
23  void Remove(IndoorMapFloorOutlineInformationModelId id);
24 
25  bool Contains(IndoorMapFloorOutlineInformationModelId id) const;
26 
27  const IndoorMapFloorOutline& Get(IndoorMapFloorOutlineInformationModelId id) const;
28  private:
29  std::unordered_map<IndoorMapFloorOutlineInformationModelId, const IndoorMapFloorOutline> m_store;
30  };
31  }
32 }