Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Data
GeoJSON
GeoJSONObject.h
1
// Copyright (c) 2015 eeGeo. All rights reserved.
2
3
#pragma once
4
5
#include "document.h"
6
#include "GeoJSONTypes.h"
7
#include "GeoJSON.h"
8
9
namespace
Eegeo
10
{
11
namespace
Data
12
{
13
namespace
GeoJSON
14
{
15
class
GeoJSONObject
16
{
17
public
:
18
GeoJSONObject
(
const
rapidjson::Value& value);
19
20
const
Types GetType()
const
{
return
m_type; }
21
22
Polygon
AsPolygon()
const
;
23
MultiPolygon
AsMultiPolygon()
const
;
24
Feature
AsFeature()
const
;
25
FeatureCollection
AsFeatureCollection()
const
;
26
27
protected
:
28
const
rapidjson::Value& m_value;
29
const
Types m_type;
30
};
31
}
32
}
33
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1