Debian Codegraph @

lib/dat/prefix-cursor.hpp

raw symbols SCIP
1 /*
2 Copyright(C) 2011-2016 Brazil
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19 #pragma once
20
21 #include "cursor.hpp"cxx . . $ `<file>/lib/dat/cursor.hpp`/
22 #include "vector.hpp"cxx . . $ `<file>/lib/dat/vector.hpp`/
23
24 namespace grncxx . . $ grn/ {
25 namespace datcxx . . $ grn/dat/ {
26
27 class Triecxx . . $ grn/dat/Trie#;
28
29 class GRN_DAT_APIcxx . . $ `lib/dat/dat.hpp:44:12`! PrefixCursorcxx . . $ grn/dat/PrefixCursor# : public Cursorcxx . . $ grn/dat/Cursor# {
30 public:
31 PrefixCursorcxx . . $ grn/dat/PrefixCursor#PrefixCursor(49f6e7a06ebc5aa8).();
32 ~cxx . . $ grn/dat/PrefixCursor#`~PrefixCursor`(ced63f7c635d850d).PrefixCursorcxx . . $ grn/dat/PrefixCursor#();
33
34 void opencxx . . $ grn/dat/PrefixCursor#open(eb3ebad4d3cb99d).(const Triecxx . . $ grn/dat/Trie# &trie,
35 const Stringcxx . . $ grn/dat/String# &str,
36 UInt32cxx . . $ grn/dat/UInt32# min_length = 0,
37 UInt32cxx . . $ grn/dat/UInt32# offset = 0,
38 UInt32cxx . . $ grn/dat/UInt32# limit = MAX_UINT32cxx . . $ grn/dat/MAX_UINT32.,
39 UInt32cxx . . $ grn/dat/UInt32# flags = 0);
40
41 void closecxx . . $ grn/dat/PrefixCursor#close(49f6e7a06ebc5aa8).() override;
42
43 const Keycxx . . $ grn/dat/Key# &nextcxx . . $ grn/dat/PrefixCursor#next(741ea5814372790).() override;
44
45 UInt32cxx . . $ grn/dat/UInt32# offsetcxx . . $ grn/dat/PrefixCursor#offset(ddd8539a2fcdd4ce).() const override {
46 return offset_cxx . . $ grn/dat/PrefixCursor#offset_.;
47 }
48 UInt32cxx . . $ grn/dat/UInt32# limitcxx . . $ grn/dat/PrefixCursor#limit(ddd8539a2fcdd4ce).() const override {
49 return limit_cxx . . $ grn/dat/PrefixCursor#limit_.;
50 }
51 UInt32cxx . . $ grn/dat/UInt32# flagscxx . . $ grn/dat/PrefixCursor#flags(ddd8539a2fcdd4ce).() const override {
52 return flags_cxx . . $ grn/dat/PrefixCursor#flags_.;
53 }
54
55 private:
56 const Triecxx . . $ grn/dat/Trie# *trie_cxx . . $ grn/dat/PrefixCursor#trie_.;
57 UInt32cxx . . $ grn/dat/UInt32# offset_cxx . . $ grn/dat/PrefixCursor#offset_.;
58 UInt32cxx . . $ grn/dat/UInt32# limit_cxx . . $ grn/dat/PrefixCursor#limit_.;
59 UInt32cxx . . $ grn/dat/UInt32# flags_cxx . . $ grn/dat/PrefixCursor#flags_.;
60
61 Vectorcxx . . $ grn/dat/Vector#<UInt32cxx . . $ grn/dat/UInt32#> buf_cxx . . $ grn/dat/PrefixCursor#buf_.;
62 UInt32cxx . . $ grn/dat/UInt32# cur_cxx . . $ grn/dat/PrefixCursor#cur_.;
63 UInt32cxx . . $ grn/dat/UInt32# end_cxx . . $ grn/dat/PrefixCursor#end_.;
64
65 PrefixCursorcxx . . $ grn/dat/PrefixCursor#PrefixCursor(86ae9facf0bf692d).(const Triecxx . . $ grn/dat/Trie# &trie,
66 UInt32cxx . . $ grn/dat/UInt32# offset, UInt32cxx . . $ grn/dat/UInt32# limit, UInt32cxx . . $ grn/dat/UInt32# flags);
67
68 UInt32cxx . . $ grn/dat/UInt32# fix_flagscxx . . $ grn/dat/PrefixCursor#fix_flags(560347b7e9428769).(UInt32cxx . . $ grn/dat/UInt32# flags) const;
69 void initcxx . . $ grn/dat/PrefixCursor#init(336363187ac20b8c).(const Stringcxx . . $ grn/dat/String# &str, UInt32cxx . . $ grn/dat/UInt32# min_length);
70 void swapcxx . . $ grn/dat/PrefixCursor#swap(f69801c098c83ffb).(PrefixCursorcxx . . $ grn/dat/PrefixCursor# *cursor);
71
72 // Disallows copy and assignment.
73 PrefixCursorcxx . . $ grn/dat/PrefixCursor#PrefixCursor(5823b0dfd385a399).(const PrefixCursorcxx . . $ grn/dat/PrefixCursor# &);
74 PrefixCursorcxx . . $ grn/dat/PrefixCursor# &operatorcxx . . $ grn/dat/PrefixCursor#`operator=`(9d491fe27e628bef).=(const PrefixCursorcxx . . $ grn/dat/PrefixCursor# &);
75 };
76
77 } // namespace dat
78 } // namespace grn