xapian-core  1.4.26
Public Member Functions | Protected Attributes | List of all members
Item_base< T > Class Template Reference

#include <chert_table.h>

+ Inheritance diagram for Item_base< T >:
+ Collaboration diagram for Item_base< T >:

Public Member Functions

 Item_base (T p_, int c)
 
 Item_base (T p_)
 
get_address () const
 
int size () const
 I in diagram above. More...
 
bool get_compressed () const
 
int component_of () const
 
int components_of () const
 
Key key () const
 
void append_chunk (std::string *tag) const
 
uint4 block_given_by () const
 Get this item's tag as a block number (this block should not be at level 0). More...
 

Protected Attributes

p
 

Detailed Description

template<class T>
class Item_base< T >

Definition at line 193 of file chert_table.h.

Constructor & Destructor Documentation

◆ Item_base() [1/2]

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

Definition at line 198 of file chert_table.h.

◆ Item_base() [2/2]

template<class T>
Item_base< T >::Item_base ( p_)
inlineexplicit

Definition at line 199 of file chert_table.h.

Member Function Documentation

◆ append_chunk()

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

Definition at line 215 of file chert_table.h.

Referenced by ChertTableCheck::print_tag(), and ChertTable::read_tag().

◆ block_given_by()

template<class T>
uint4 Item_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 224 of file chert_table.h.

Referenced by ChertTable::delete_item(), ChertTableCheck::print_tag(), and ChertTable::readahead_key().

◆ component_of()

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

◆ components_of()

template<class T>
int Item_base< T >::components_of ( ) const
inline

◆ get_address()

template<class T>
T Item_base< T >::get_address ( ) const
inline

◆ get_compressed()

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

Definition at line 207 of file chert_table.h.

Referenced by ChertTable::read_tag().

◆ key()

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

◆ size()

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

Member Data Documentation

◆ p

template<class T>
T Item_base< T >::p
protected

Definition at line 195 of file chert_table.h.


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