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

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

#include "base/string_utils.hpp"

namespace search
{
class Delimiters
{
public:
  bool operator()(strings::UniChar c) const;
};

class DelimitersWithExceptions
{
public:
  DelimitersWithExceptions(vector<strings::UniChar> const & exceptions);

  bool operator()(strings::UniChar c) const;

private:
  vector<strings::UniChar> m_exceptions;
  Delimiters m_delimiters;
};
}  // namespace search