xapian-core  2.0.0
Public Member Functions | Public Attributes | List of all members
HoneyFLCursor Class Reference

#include <honey_freelist.h>

Public Member Functions

 HoneyFLCursor ()
 
bool operator== (const HoneyFLCursor &o) const
 
bool operator!= (const HoneyFLCursor &o) const
 
void swap (HoneyFLCursor &o)
 
void pack (std::string &buf)
 
bool unpack (const char **p, const char *end)
 

Public Attributes

uint4 n = 0
 Block number of current freelist chunk. More...
 
unsigned c = 0
 Current offset in block. More...
 

Detailed Description

Definition at line 29 of file honey_freelist.h.

Constructor & Destructor Documentation

◆ HoneyFLCursor()

HoneyFLCursor::HoneyFLCursor ( )
inline

Definition at line 37 of file honey_freelist.h.

Member Function Documentation

◆ operator!=()

bool HoneyFLCursor::operator!= ( const HoneyFLCursor o) const
inline

Definition at line 43 of file honey_freelist.h.

◆ operator==()

bool HoneyFLCursor::operator== ( const HoneyFLCursor o) const
inline

Definition at line 39 of file honey_freelist.h.

References c, and n.

◆ pack()

void HoneyFLCursor::pack ( std::string &  buf)
inline

Definition at line 52 of file honey_freelist.h.

References c, n, and pack_uint().

Referenced by HoneyFreeList::pack().

◆ swap()

void HoneyFLCursor::swap ( HoneyFLCursor o)
inline

Definition at line 47 of file honey_freelist.h.

References c, and n.

◆ unpack()

bool HoneyFLCursor::unpack ( const char **  p,
const char *  end 
)
inline

Definition at line 57 of file honey_freelist.h.

References c, n, p, unpack_uint(), and usual.

Referenced by HoneyFreeList::unpack().

Member Data Documentation

◆ c

unsigned HoneyFLCursor::c = 0

Current offset in block.

Definition at line 35 of file honey_freelist.h.

Referenced by operator==(), pack(), swap(), and unpack().

◆ n

uint4 HoneyFLCursor::n = 0

Block number of current freelist chunk.

Definition at line 32 of file honey_freelist.h.

Referenced by operator==(), pack(), swap(), and unpack().


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