Debian Codegraph @

lib/dat/key-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`! KeyCursorcxx . . $ grn/dat/KeyCursor# : public Cursorcxx . . $ grn/dat/Cursor# {
30 public:
31 KeyCursorcxx . . $ grn/dat/KeyCursor#KeyCursor(49f6e7a06ebc5aa8).();
32 ~cxx . . $ grn/dat/KeyCursor#`~KeyCursor`(ced63f7c635d850d).KeyCursorcxx . . $ grn/dat/KeyCursor#();
33
34 void opencxx . . $ grn/dat/KeyCursor#open(ff67b50667d7ad53).(const Triecxx . . $ grn/dat/Trie# &trie,
35 const Stringcxx . . $ grn/dat/String# &min_str,
36 const Stringcxx . . $ grn/dat/String# &max_str,
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/KeyCursor#close(49f6e7a06ebc5aa8).() override;
42
43 const Keycxx . . $ grn/dat/Key# &nextcxx . . $ grn/dat/KeyCursor#next(741ea5814372790).() override;
44
45 UInt32cxx . . $ grn/dat/UInt32# offsetcxx . . $ grn/dat/KeyCursor#offset(ddd8539a2fcdd4ce).() const override {
46 return offset_cxx . . $ grn/dat/KeyCursor#offset_.;
47 }
48 UInt32cxx . . $ grn/dat/UInt32# limitcxx . . $ grn/dat/KeyCursor#limit(ddd8539a2fcdd4ce).() const override {
49 return limit_cxx . . $ grn/dat/KeyCursor#limit_.;
50 }
51 UInt32cxx . . $ grn/dat/UInt32# flagscxx . . $ grn/dat/KeyCursor#flags(ddd8539a2fcdd4ce).() const override {
52 return flags_cxx . . $ grn/dat/KeyCursor#flags_.;
53 }
54
55 private:
56 const Triecxx . . $ grn/dat/Trie# *trie_cxx . . $ grn/dat/KeyCursor#trie_.;
57 UInt32cxx . . $ grn/dat/UInt32# offset_cxx . . $ grn/dat/KeyCursor#offset_.;
58 UInt32cxx . . $ grn/dat/UInt32# limit_cxx . . $ grn/dat/KeyCursor#limit_.;
59 UInt32cxx . . $ grn/dat/UInt32# flags_cxx . . $ grn/dat/KeyCursor#flags_.;
60
61 Vectorcxx . . $ grn/dat/Vector#<UInt32cxx . . $ grn/dat/UInt32#> buf_cxx . . $ grn/dat/KeyCursor#buf_.;
62 UInt32cxx . . $ grn/dat/UInt32# count_cxx . . $ grn/dat/KeyCursor#count_.;
63 UInt32cxx . . $ grn/dat/UInt32# max_count_cxx . . $ grn/dat/KeyCursor#max_count_.;
64 bool finished_cxx . . $ grn/dat/KeyCursor#finished_.;
65 UInt8cxx . . $ grn/dat/UInt8# *end_buf_cxx . . $ grn/dat/KeyCursor#end_buf_.;
66 Stringcxx . . $ grn/dat/String# end_str_cxx . . $ grn/dat/KeyCursor#end_str_.;
67
68 KeyCursorcxx . . $ grn/dat/KeyCursor#KeyCursor(86ae9facf0bf692d).(const Triecxx . . $ grn/dat/Trie# &trie,
69 UInt32cxx . . $ grn/dat/UInt32# offset, UInt32cxx . . $ grn/dat/UInt32# limit, UInt32cxx . . $ grn/dat/UInt32# flags);
70
71 UInt32cxx . . $ grn/dat/UInt32# fix_flagscxx . . $ grn/dat/KeyCursor#fix_flags(560347b7e9428769).(UInt32cxx . . $ grn/dat/UInt32# flags) const;
72 void initcxx . . $ grn/dat/KeyCursor#init(c46cb21227c95581).(const Stringcxx . . $ grn/dat/String# &min_str, const Stringcxx . . $ grn/dat/String# &max_str);
73 void ascending_initcxx . . $ grn/dat/KeyCursor#ascending_init(c46cb21227c95581).(const Stringcxx . . $ grn/dat/String# &min_str, const Stringcxx . . $ grn/dat/String# &max_str);
74 void descending_initcxx . . $ grn/dat/KeyCursor#descending_init(c46cb21227c95581).(const Stringcxx . . $ grn/dat/String# &min_str, const Stringcxx . . $ grn/dat/String# &max_str);
75 void swapcxx . . $ grn/dat/KeyCursor#swap(6b7003c3030ac84a).(KeyCursorcxx . . $ grn/dat/KeyCursor# *cursor);
76
77 const Keycxx . . $ grn/dat/Key# &ascending_nextcxx . . $ grn/dat/KeyCursor#ascending_next(741ea5814372790).();
78 const Keycxx . . $ grn/dat/Key# &descending_nextcxx . . $ grn/dat/KeyCursor#descending_next(741ea5814372790).();
79
80 static const UInt32cxx . . $ grn/dat/UInt32# POST_ORDER_FLAGcxx . . $ grn/dat/KeyCursor#POST_ORDER_FLAG. = 0x80000000U;
81
82 // Disallows copy and assignment.
83 KeyCursorcxx . . $ grn/dat/KeyCursor#KeyCursor(a98d0d7a2399660a).(const KeyCursorcxx . . $ grn/dat/KeyCursor# &);
84 KeyCursorcxx . . $ grn/dat/KeyCursor# &operatorcxx . . $ grn/dat/KeyCursor#`operator=`(eac0eef3b00d722e).=(const KeyCursorcxx . . $ grn/dat/KeyCursor# &);
85 };
86
87 } // namespace dat
88 } // namespace grn