|
xapian-core
1.4.30
|
#include <glass_table.h>
Inheritance diagram for Glass::LeafItem_wr:
Collaboration diagram for Glass::LeafItem_wr:Public Member Functions | |
| LeafItem_wr (uint8_t *p_, int c) | |
| LeafItem_wr (uint8_t *p_) | |
| void | set_component_of (int i) |
| void | set_size (int new_size) |
| void | form_key (const std::string &key_) |
| void | set_tag (int cd, const char *start, int len, bool compressed, int i, int m) |
| void | fake_root_item () |
| operator const LeafItem () const | |
Public Member Functions inherited from Glass::LeafItem_base< uint8_t * > | |
| LeafItem_base (uint8_t * p_, int c) | |
| LeafItem_base (uint8_t * p_) | |
| void | init (uint8_t * p_, int c) |
| void | init (uint8_t * p_) |
| uint8_t * | get_address () const |
| int | size () const |
| SIZE in diagram above. More... | |
| bool | get_compressed () const |
| bool | first_component () const |
| bool | last_component () const |
| int | component_of () const |
| Key | key () const |
| void | append_chunk (std::string *tag) const |
| bool | decompress_chunk (CompressionStream &comp_stream, string &tag) const |
Static Public Member Functions | |
| static void | setD (uint8_t *q, int c, int x) |
Private Member Functions | |
| void | set_key_len (int x) |
| void | setI (int x) |
Static Private Member Functions | |
| static void | setX (uint8_t *q, int c, int x) |
Additional Inherited Members | |
Protected Member Functions inherited from Glass::LeafItem_base< uint8_t * > | |
| int | get_key_len () const |
| int | getI () const |
Static Protected Member Functions inherited from Glass::LeafItem_base< uint8_t * > | |
| static int | getD (const uint8_t *q, int c) |
| static int | getX (const uint8_t *q, int c) |
Protected Attributes inherited from Glass::LeafItem_base< uint8_t * > | |
| uint8_t * | p |
Definition at line 222 of file glass_table.h.
|
inline |
Definition at line 232 of file glass_table.h.
|
inlineexplicit |
Definition at line 233 of file glass_table.h.
|
inline |
Definition at line 276 of file glass_table.h.
References Glass::I2, Glass::I_FIRST_BIT, Glass::I_LAST_BIT, Glass::K1, Glass::LeafItem_base< uint8_t * >::p, set_key_len(), and set_size().
Referenced by GlassTable::read_root().
|
inline |
Definition at line 247 of file glass_table.h.
References GLASS_BTREE_MAX_KEY_LEN, Glass::I2, Glass::I_FIRST_BIT, Glass::K1, Glass::LeafItem_base< uint8_t * >::p, set_key_len(), Xapian::Internal::str(), and STRINGIZE.
|
inline |
Definition at line 281 of file glass_table.h.
References Glass::LeafItem_base< uint8_t * >::p.
|
inline |
Definition at line 234 of file glass_table.h.
References AssertRel, Glass::LeafItem_base< uint8_t * >::get_key_len(), Glass::I2, Glass::I_FIRST_BIT, Glass::K1, Glass::LeafItem_base< uint8_t * >::p, and setX().
Referenced by set_tag().
|
inlineprivate |
Definition at line 223 of file glass_table.h.
References AssertRel, GLASS_BTREE_MAX_KEY_LEN, Glass::I2, and Glass::LeafItem_base< uint8_t * >::p.
Referenced by fake_root_item(), and form_key().
|
inline |
Definition at line 239 of file glass_table.h.
References AssertRel, Glass::ITEM_SIZE_MASK, rare, and setI().
Referenced by fake_root_item(), and set_tag().
|
inline |
Definition at line 265 of file glass_table.h.
References Glass::I_COMPRESSED_BIT, Glass::I_FIRST_BIT, Glass::I_LAST_BIT, Glass::LeafItem_base< uint8_t * >::p, set_component_of(), and set_size().
|
inlinestatic |
Definition at line 282 of file glass_table.h.
References Assert, AssertRel, Glass::DIR_START, and unaligned_write2().
Referenced by GlassTable::add_item_to_leaf(), GlassTable::add_kt(), GlassTable::compact(), and GlassTable::read_root().
|
inlineprivate |
Definition at line 228 of file glass_table.h.
References Glass::LeafItem_base< uint8_t * >::p, and unaligned_write2().
Referenced by set_size().
|
inlinestaticprivate |
Definition at line 229 of file glass_table.h.
References unaligned_write2().
Referenced by set_component_of().