xapian-core  1.4.26
Public Member Functions | Public Attributes | List of all members
GlassFLCursor Class Reference

#include <glass_freelist.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 30 of file glass_freelist.h.

Constructor & Destructor Documentation

◆ GlassFLCursor()

GlassFLCursor::GlassFLCursor ( )
inline

Definition at line 38 of file glass_freelist.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 44 of file glass_freelist.h.

◆ operator==()

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

Definition at line 40 of file glass_freelist.h.

References c, and n.

◆ pack()

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

Definition at line 53 of file glass_freelist.h.

References pack_uint().

Referenced by GlassFreeList::pack().

◆ swap()

void GlassFLCursor::swap ( GlassFLCursor o)
inline

Definition at line 48 of file glass_freelist.h.

References c, and n.

◆ unpack()

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

Definition at line 58 of file glass_freelist.h.

References unpack_uint(), and usual.

Referenced by GlassFreeList::unpack().

Member Data Documentation

◆ c

unsigned GlassFLCursor::c

Current offset in block.

Definition at line 36 of file glass_freelist.h.

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

◆ n

uint4 GlassFLCursor::n

Block number of current freelist chunk.

Definition at line 33 of file glass_freelist.h.

Referenced by GlassFreeListChecker::mark_used(), operator==(), and swap().


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