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: 7a68da1731f085133889f2ee8d27285f21c82da0 (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
25
26
#pragma once

#include "base/string_utils.hpp"

#include "std/vector.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