All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
BuildingFootprintWebLoaderResult.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 
6 #include "Types.h"
7 #include "BuildingFootprints.h"
8 
9 namespace Eegeo
10 {
11  namespace BuildingFootprints
12  {
14  {
16  : m_success(false)
17  , m_notFound(false)
18  , m_pResource(NULL)
19  {}
20 
21  BuildingFootprintWebLoaderResult(bool success, bool notFound, const BuildingFootprintResource* pResource)
22  : m_success(success)
23  , m_notFound(notFound)
24  , m_pResource(pResource)
25  {
26  }
27 
28  bool IsSuccess() const { return m_success; }
29  bool IsNotFound() const { return m_notFound; }
30  const BuildingFootprintResource* GetResource() const { return m_pResource; }
31 
32  private:
33  bool m_success;
34  bool m_notFound;
35  const BuildingFootprintResource* m_pResource;
36  };
37  }
38 }