All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PlaceNameParser.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "PlaceNames.h"
7 #include "Streaming.h"
8 #include "PlaceNameCategory.h"
9 #include "ChunkedFileFormat.h"
10 
11 #include <vector>
12 #include <string>
13 
14 namespace Eegeo
15 {
16  namespace Resources
17  {
18  namespace PlaceNames
19  {
21  {
22  public:
23  static bool TryParsePlaceNames(const Streaming::MortonKey& key, Eegeo::IO::ChunkedFileFormat::ChunkStream& chunkStream, std::vector<PlaceNameData>& result);
24 
25  static std::string ConvertV1CategoryToV2Code(PlaceNameCategory category);
26  static std::string GetIconForV1Category(PlaceNameCategory category);
27  };
28  }
29  }
30 }