Item_base< T > Class Template Reference

#include <btree.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
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 180 of file btree.h.


Constructor & Destructor Documentation

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

Definition at line 185 of file btree.h.

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

Definition at line 186 of file btree.h.


Member Function Documentation

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

Definition at line 187 of file btree.h.

Referenced by Btree::add_item_to_block(), Btree::add_kt(), Btree::basic_open(), and Btree::close().

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

Definition at line 188 of file btree.h.

Referenced by Btree::add_item(), Btree::add_item_to_block(), Btree::add_kt(), Item_base< const byte * >::append_chunk(), and Item_base< const byte * >::block_given_by().

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

Definition at line 189 of file btree.h.

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

Definition at line 192 of file btree.h.

Referenced by Btree::read_tag().

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

Definition at line 195 of file btree.h.

Referenced by Btree::add(), Btree::enter_key(), and Btree::find().

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

Definition at line 196 of file btree.h.

Referenced by Btree::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 205 of file btree.h.


Member Data Documentation

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

Definition at line 182 of file btree.h.

Referenced by Item_base< const byte * >::append_chunk(), Item_base< const byte * >::block_given_by(), Item_base< const byte * >::component_of(), Item_base< const byte * >::components_of(), Item_base< const byte * >::get_address(), Item_base< const byte * >::key(), and Item_base< const 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.