Welcome to mirror list, hosted at ThFree Co, Russian Federation.

region.hpp « search - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5e830292c79ac76742046be7f43661792e15ab4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "std/string.hpp"
#include "std/vector.hpp"

namespace search
{
struct Region
{
  vector<size_t> m_ids;
  vector<size_t> m_matchedTokens;
  string m_enName;

  bool IsValid() const;

  void Swap(Region & rhs);

  bool operator<(Region const & rhs) const;
};

string DebugPrint(Region const & r);
}  // namespace search