All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MarkerCreateParams.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Markers.h"
6 #include "Labels.h"
7 #include "VectorMath.h"
8 #include "InteriorId.h"
9 #include "MarkerTypes.h"
10 #include "PositioningTypes.h"
11 #include <string>
12 
13 namespace Eegeo
14 {
15  namespace Markers
16  {
18  {
19  public:
21 
22  MarkerCreateParams( const std::string& labelStyleName,
23  const std::string& entityName,
24  const std::string& textUtf8,
25  const std::string& iconKey,
26  double latitudeDegrees,
27  double longitudeDegrees,
28  double elevation,
29  Positioning::ElevationMode::Type elevationMode,
30  float labelVerticalOffset,
31  const Resources::Interiors::InteriorId& interiorId,
32  int interiorFloorNumber,
33  bool usingFloorIndex,
34  int subPriority);
35 
36  const std::string& GetLabelStyleName() const { return m_labelStyleName; }
37  const std::string& GetEntityName() const { return m_entityName; }
38  const std::string& GetLabelText() const { return m_labelTextUtf8; }
39  const std::string& GetIconKey() const { return m_iconKey; }
40  double GetLatitudeDegrees() const { return m_latitudeDegrees; }
41  double GetLongitudeDegrees() const { return m_longitudeDegrees; }
42  double GetElevation() const { return m_elevation; }
43  Positioning::ElevationMode::Type GetElevationMode() const { return m_elevationMode; }
44  float GetLabelVerticalOffset() const { return m_labelVerticalOffset; }
45  const Resources::Interiors::InteriorId& GetInteriorId() const { return m_interiorId; }
46  int GetInteriorFloorNumber() const { return m_interiorFloorNumber; }
47  bool IsUsingFloorIndex() const { return m_usingFloorIndex; }
48  int GetSubPriority() const { return m_subPriority; }
49  bool IsIndoorMarker() const;
50  bool HasIcon() const;
51 
52  private:
53  std::string m_labelStyleName;
54  std::string m_entityName;
55  std::string m_labelTextUtf8;
56  std::string m_iconKey;
57  double m_latitudeDegrees;
58  double m_longitudeDegrees;
59  double m_elevation;
60  Positioning::ElevationMode::Type m_elevationMode;
61  float m_labelVerticalOffset;
63  int m_interiorFloorNumber;
64  bool m_usingFloorIndex;
65  int m_subPriority;
66  };
67 
68 
69  }
70 }