hmbdc
simplify-high-performance-messaging-programming
hmbdc
text
StringTrieSetClang.hpp
1
#include "hmbdc/Copyright.hpp"
2
#pragma once
3
4
#include <string>
5
#include <utility>
6
7
namespace
hmbdc
{
namespace
text {
namespace
stringtriesetclang_detail {
8
9
struct
const_iterator
{
10
const_iterator
();
11
std::pair<const std::string, bool>
const
* operator->()
const
;
12
std::pair<const std::string, bool>
const
& operator*()
const
;
13
const_iterator
operator++(
int
);
14
const_iterator
& operator++();
15
bool
operator == (
const_iterator
const
&)
const
;
16
bool
operator != (
const_iterator
const
&)
const
;
17
char
impl_[8];
18
};
19
20
}
21
22
struct
StringTrieSetClang
{
23
using
const_iterator
=
stringtriesetclang_detail::const_iterator
;
24
StringTrieSetClang
();
25
~
StringTrieSetClang
();
26
StringTrieSetClang
(
StringTrieSetClang
const
&) =
delete
;
27
StringTrieSetClang
& operator = (
StringTrieSetClang
const
&) =
delete
;
28
29
const_iterator
begin()
const
;
30
const_iterator
end()
const
;
31
void
add(std::string
const
& s);
32
void
erase(std::string
const
& s);
33
bool
check(
char
const
*b,
size_t
len)
const
;
34
bool
check(std::pair<char const*, char const*>
const
& str)
const
;
35
size_t
size()
const
;
36
void
* impl_;
37
};
38
39
}}
hmbdc::text::stringtriesetclang_detail::const_iterator
Definition:
StringTrieSetClang.hpp:9
hmbdc::text::StringTrieSetClang
Definition:
StringTrieSetClang.hpp:22
hmbdc
Definition:
Base.hpp:12
Generated by
1.8.13