Item_base_< T > Class Template Reference

#include <flint_table.h>

Inheritance diagram for Item_base_< T >:

Inheritance graph
[legend]
Collaboration diagram for Item_base_< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Item_base_ (T p_, int c)
 Item_base_ (T p_)
get_address () const
int size () const
bool get_compressed () const
int component_of () const
int components_of () const
Key_ key () const
void append_chunk (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).

Protected Attributes

p

Detailed Description

template<class T>
class Item_base_< T >

Definition at line 119 of file flint_table.h.


Constructor & Destructor Documentation

template<class T>
Item_base_< T >::Item_base_ ( p_,
int  c 
) [inline]

Definition at line 124 of file flint_table.h.

template<class T>
Item_base_< T >::Item_base_ ( p_  )  [inline]

Definition at line 125 of file flint_table.h.


Member Function Documentation

template<class T>
T Item_base_< T >::get_address (  )  const [inline]

Definition at line 126 of file flint_table.h.

Referenced by FlintTable::add_item_to_block(), FlintTable::add_kt(), and FlintTable::close().

template<class T>
int Item_base_< T >::size (  )  const [inline]

Definition at line 127 of file flint_table.h.

Referenced by FlintTable::add_item(), FlintTable::add_item_to_block(), FlintTable::add_kt(), Item_base_< byte * >::append_chunk(), and Item_base_< byte * >::block_given_by().

template<class T>
bool Item_base_< T >::get_compressed (  )  const [inline]

Definition at line 128 of file flint_table.h.

Referenced by FlintTable::read_tag().

template<class T>
int Item_base_< T >::component_of (  )  const [inline]

Definition at line 129 of file flint_table.h.

Referenced by BtreeCheck::print_key().

template<class T>
int Item_base_< T >::components_of (  )  const [inline]

Definition at line 132 of file flint_table.h.

Referenced by BtreeCheck::print_tag(), and FlintTable::read_tag().

template<class T>
Key_ Item_base_< T >::key (  )  const [inline]

Definition at line 135 of file flint_table.h.

Referenced by FlintTable::add(), FlintTable::enter_key(), FlintTable::find(), and BtreeCheck::print_key().

template<class T>
void Item_base_< T >::append_chunk ( string *  tag  )  const [inline]

Definition at line 136 of file flint_table.h.

Referenced by BtreeCheck::print_tag(), and FlintTable::read_tag().

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 145 of file flint_table.h.


Member Data Documentation

template<class T>
T Item_base_< T >::p [protected]

Definition at line 121 of file flint_table.h.

Referenced by Item_base_< byte * >::append_chunk(), Item_base_< byte * >::block_given_by(), Item_base_< byte * >::component_of(), Item_base_< byte * >::components_of(), Item_base_< byte * >::get_address(), Item_base_< byte * >::get_compressed(), Item_base_< byte * >::key(), and Item_base_< byte * >::size().


The documentation for this class was generated from the following file:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.