| 
    xapian-core
    1.4.29
    
   | 
 
#include <chert_cursor.h>
Public Member Functions | |
| Cursor () | |
| Constructor, to initialise important elements.  More... | |
Public Attributes | |
| uint8_t * | p | 
| pointer to a block  More... | |
| int | c | 
| offset in the block's directory  More... | |
| uint4 | n | 
| block number  More... | |
| bool | rewrite | 
| true if the block is not the same as on disk, and so needs rewriting  More... | |
Private Member Functions | |
| Cursor (const Cursor &) | |
| Cursor & | operator= (const Cursor &) | 
Definition at line 33 of file chert_cursor.h.
      
  | 
  private | 
      
  | 
  inline | 
Constructor, to initialise important elements.
Definition at line 41 of file chert_cursor.h.
| int Cursor::c | 
offset in the block's directory
Definition at line 47 of file chert_cursor.h.
Referenced by ChertTableCheck::block_check(), ChertTable::commit(), ChertCursor::find_entry(), ChertTable::next_default(), ChertTable::next_for_sequential(), ChertTable::prev_default(), and ChertTable::prev_for_sequential().
| uint4 Cursor::n | 
block number
n is kept in tandem with p. The unassigned state is when p == 0 and n == BLK_UNUSED.
Setting n to BLK_UNUSED is necessary in at least some cases.
Definition at line 56 of file chert_cursor.h.
Referenced by ChertTableCheck::block_check(), ChertTable::block_to_cursor(), ChertTable::cancel(), ChertTableCheck::check(), ChertCursor::ChertCursor(), ChertTable::commit(), ChertTable::do_open_to_read(), ChertTable::next_for_sequential(), ChertTable::prev_for_sequential(), and ChertCursor::rebuild().
| uint8_t* Cursor::p | 
pointer to a block
Definition at line 45 of file chert_cursor.h.
Referenced by ChertTableCheck::block_check(), ChertTable::block_to_cursor(), ChertCursor::ChertCursor(), ChertTable::close(), ChertTable::do_open_to_read(), ChertTable::next_default(), ChertTable::next_for_sequential(), ChertTable::prev_default(), ChertTable::prev_for_sequential(), ChertCursor::rebuild(), and ChertCursor::~ChertCursor().
| bool Cursor::rewrite | 
true if the block is not the same as on disk, and so needs rewriting
Definition at line 58 of file chert_cursor.h.
Referenced by ChertTable::block_to_cursor(), ChertTable::cancel(), and ChertTable::commit().