xapian-core  1.4.19
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Glass::LeafItem_base< T > Class Template Reference

#include <glass_table.h>

+ Inheritance diagram for Glass::LeafItem_base< T >:
+ Collaboration diagram for Glass::LeafItem_base< T >:

Public Member Functions

 LeafItem_base (T p_, int c)
 
 LeafItem_base (T p_)
 
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
 

Protected Member Functions

int get_key_len () const
 
int getI () const
 

Static Protected Member Functions

static int getD (const uint8_t *q, int c)
 
static int getX (const uint8_t *q, int c)
 

Protected Attributes

p
 

Detailed Description

template<class T>
class Glass::LeafItem_base< T >

Definition at line 160 of file glass_table.h.

Constructor & Destructor Documentation

◆ LeafItem_base() [1/2]

template<class T>
Glass::LeafItem_base< T >::LeafItem_base ( p_,
int  c 
)
inline

Definition at line 174 of file glass_table.h.

◆ LeafItem_base() [2/2]

template<class T>
Glass::LeafItem_base< T >::LeafItem_base ( p_)
inlineexplicit

Definition at line 175 of file glass_table.h.

Member Function Documentation

◆ append_chunk()

template<class T>
void Glass::LeafItem_base< T >::append_chunk ( std::string *  tag) const
inline

Definition at line 189 of file glass_table.h.

Referenced by GlassTableCheck::print_tag(), and GlassTable::read_tag().

◆ component_of()

template<class T>
int Glass::LeafItem_base< T >::component_of ( ) const
inline

Definition at line 184 of file glass_table.h.

Referenced by GlassTable::enter_key_above_leaf(), and GlassTableCheck::print_key().

◆ decompress_chunk()

template<class T>
bool Glass::LeafItem_base< T >::decompress_chunk ( CompressionStream comp_stream,
string &  tag 
) const
inline

Definition at line 198 of file glass_table.h.

Referenced by GlassTable::read_tag().

◆ first_component()

template<class T>
bool Glass::LeafItem_base< T >::first_component ( ) const
inline

Definition at line 182 of file glass_table.h.

Referenced by GlassCursor::next().

◆ get_address()

template<class T>
T Glass::LeafItem_base< T >::get_address ( ) const
inline

◆ get_compressed()

template<class T>
bool Glass::LeafItem_base< T >::get_compressed ( ) const
inline

Definition at line 181 of file glass_table.h.

Referenced by GlassTable::read_tag().

◆ get_key_len()

template<class T>
int Glass::LeafItem_base< T >::get_key_len ( ) const
inlineprotected

Definition at line 163 of file glass_table.h.

◆ getD()

template<class T>
static int Glass::LeafItem_base< T >::getD ( const uint8_t *  q,
int  c 
)
inlinestaticprotected

Definition at line 164 of file glass_table.h.

◆ getI()

template<class T>
int Glass::LeafItem_base< T >::getI ( ) const
inlineprotected

Definition at line 170 of file glass_table.h.

◆ getX()

template<class T>
static int Glass::LeafItem_base< T >::getX ( const uint8_t *  q,
int  c 
)
inlinestaticprotected

Definition at line 171 of file glass_table.h.

◆ key()

template<class T>
Key Glass::LeafItem_base< T >::key ( ) const
inline

Definition at line 188 of file glass_table.h.

Referenced by GlassTable::enter_key_above_leaf(), and GlassTableCheck::print_key().

◆ last_component()

template<class T>
bool Glass::LeafItem_base< T >::last_component ( ) const
inline

◆ size()

template<class T>
int Glass::LeafItem_base< T >::size ( ) const
inline

Member Data Documentation

◆ p

template<class T>
T Glass::LeafItem_base< T >::p
protected

Definition at line 162 of file glass_table.h.


The documentation for this class was generated from the following file: