All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LabelAnchorCategoryIconMapParser.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "IJsonFileParser.h"
6 #include <string>
7 #include <vector>
8 
9 namespace Eegeo
10 {
11  namespace Labels
12  {
14  {
15  std::string LabelAnchorCategory;
16  std::string LabelIconKey;
17  };
18 
20  {
21  std::vector<LabelIconMappingDto> LabelIconMappings;
22  };
23 
24  class LabelAnchorCategoryIconMapParser : public Io::IJsonFileParser<LabelAnchorCategoryIconMapParseResult>
25  {
26  public:
28 
29  bool TryParse(const std::string& serializedJson, LabelAnchorCategoryIconMapParseResult& out_result) const;
30 
31  private:
32  };
33  }
34 }