| 1 | /** @file |
| 2 | * @brief Chert class for value streams. |
| 3 | */ |
| 4 | /* Copyright (C) 2007,2008,2011 Olly Betts |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; either version 2 of the |
| 9 | * License, or (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ |
| 20 | |
| 21 | #ifndef XAPIAN_INCLUDED_CHERT_VALUELIST_H |
| 22 | #define XAPIAN_INCLUDED_CHERT_VALUELIST_Hcxx . . $ `backends/chert/chert_valuelist.h:22:9`! |
| 23 | |
| 24 | #include "backends/valuelist.h"cxx . . $ `<file>/backends/valuelist.h`/ |
| 25 | #include "chert_values.h"cxx . . $ `<file>/backends/chert/chert_values.h`/ |
| 26 | |
| 27 | class ChertCursorcxx . . $ ChertCursor#; |
| 28 | class ChertDatabasecxx . . $ ChertDatabase#; |
| 29 | |
| 30 | /// Chert class for value streams. |
| 31 | class ChertValueListcxx . . $ ChertValueList# : public Xapiancxx . . $ Xapian/::ValueIteratorcxx . . $ Xapian/ValueIterator#::Internalcxx . . $ Xapian/ValueIterator#Internal# { |
| 32 | /// Don't allow assignment. |
| 33 | void operatorcxx . . $ ChertValueList#`operator=`(d4078e8b615c7867).=(const ChertValueListcxx . . $ ChertValueList# &); |
| 34 | |
| 35 | /// Don't allow copying. |
| 36 | ChertValueListcxx . . $ ChertValueList#ChertValueList(d4078e8b615c7867).(const ChertValueListcxx . . $ ChertValueList# &); |
| 37 | |
| 38 | ChertCursorcxx . . $ ChertCursor# * cursorcxx . . $ ChertValueList#cursor.; |
| 39 | |
| 40 | ValueChunkReadercxx . . $ ValueChunkReader# readercxx . . $ ChertValueList#reader.; |
| 41 | |
| 42 | Xapiancxx . . $ Xapian/::valuenocxx . . $ Xapian/valueno# slotcxx . . $ ChertValueList#slot.; |
| 43 | |
| 44 | Xapiancxx . . $ Xapian/::Internalcxx . . $ Xapian/Internal/::intrusive_ptrcxx . . $ Xapian/Internal/intrusive_ptr#<const ChertDatabasecxx . . $ ChertDatabase#> dbcxx . . $ ChertValueList#db.; |
| 45 | |
| 46 | /// Update @a reader to use the chunk currently pointed to by @a cursor. |
| 47 | bool update_readercxx . . $ ChertValueList#update_reader(c9857a73d68e59ba).(); |
| 48 | |
| 49 | public: |
| 50 | ChertValueListcxx . . $ ChertValueList#ChertValueList(cea3b9ea5f7c9b19).(Xapiancxx . . $ Xapian/::valuenocxx . . $ Xapian/valueno# slot_, |
| 51 | Xapiancxx . . $ Xapian/::Internalcxx . . $ Xapian/Internal/::intrusive_ptrcxx . . $ Xapian/Internal/intrusive_ptr#<const ChertDatabasecxx . . $ ChertDatabase#> db_) |
| 52 | : cursorcxx . . $ ChertValueList#cursor.(NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!), slotcxx . . $ ChertValueList#slot.(slot_), dbcxx . . $ Xapian/Internal/intrusive_ptr#intrusive_ptr(1f1e08aa4d15111e).(db_) { } |
| 53 | |
| 54 | ~cxx . . $ ChertValueList#`~ChertValueList`(ced63f7c635d850d).ChertValueListcxx . . $ ChertValueList#(); |
| 55 | |
| 56 | Xapiancxx . . $ Xapian/::docidcxx . . $ Xapian/docid# get_docidcxx . . $ ChertValueList#get_docid(ddd8539a2fcdd4ce).() const; |
| 57 | |
| 58 | Xapiancxx . . $ Xapian/::valuenocxx . . $ Xapian/valueno# get_valuenocxx . . $ ChertValueList#get_valueno(ddd8539a2fcdd4ce).() const; |
| 59 | |
| 60 | stdcxx . . $ std/::stringcxx . . $ std/string# get_valuecxx . . $ ChertValueList#get_value(219584694fe2b248).() const; |
| 61 | |
| 62 | bool at_endcxx . . $ ChertValueList#at_end(50ce9a9e25b4a850).() const; |
| 63 | |
| 64 | void nextcxx . . $ ChertValueList#next(49f6e7a06ebc5aa8).(); |
| 65 | |
| 66 | void skip_tocxx . . $ ChertValueList#skip_to(cb2f890c2fdad230).(Xapiancxx . . $ Xapian/::docidcxx . . $ Xapian/docid#); |
| 67 | |
| 68 | bool checkcxx . . $ ChertValueList#check(dfa6e707f7696010).(Xapiancxx . . $ Xapian/::docidcxx . . $ Xapian/docid# did); |
| 69 | |
| 70 | stdcxx . . $ std/::stringcxx . . $ std/string# get_descriptioncxx . . $ ChertValueList#get_description(219584694fe2b248).() const; |
| 71 | }; |
| 72 | |
| 73 | #endif // XAPIAN_INCLUDED_CHERT_VALUELIST_H |