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

#include <glass_table.h>

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

Public Member Functions

 BItem_base (T p_, int c)
 
 BItem_base (T p_)
 
get_address () const
 
int size () const
 SIZE in diagram above. More...
 
Key key () const
 
uint4 block_given_by () const
 Get this item's tag as a block number (this block should not be at level 0). More...
 
int component_of () const
 

Protected Member Functions

int get_key_len () 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::BItem_base< T >

Definition at line 302 of file glass_table.h.

Constructor & Destructor Documentation

◆ BItem_base() [1/2]

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

Definition at line 315 of file glass_table.h.

◆ BItem_base() [2/2]

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

Definition at line 316 of file glass_table.h.

Member Function Documentation

◆ block_given_by()

template<class T>
uint4 Glass::BItem_base< T >::block_given_by ( ) const
inline

Get this item's tag as a block number (this block should not be at level 0).

Definition at line 326 of file glass_table.h.

Referenced by GlassTable::add_branch_item(), GlassTable::delete_branch_item(), GlassTableCheck::print_tag(), and GlassTable::readahead_key().

◆ component_of()

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

Definition at line 329 of file glass_table.h.

◆ get_address()

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

◆ get_key_len()

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

Definition at line 305 of file glass_table.h.

◆ getD()

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

Definition at line 306 of file glass_table.h.

◆ getX()

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

Definition at line 312 of file glass_table.h.

◆ key()

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

◆ size()

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

Member Data Documentation

◆ p

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

Definition at line 304 of file glass_table.h.


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