xapian-core  1.4.21
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
GlassFreeListChecker Class Reference

#include <glass_freelist.h>

Public Member Functions

 GlassFreeListChecker (const GlassFreeList &fl)
 ~GlassFreeListChecker ()
bool mark_used (uint4 n)
uint4 count_set_bits (uint4 *p_first_bad_blk) const
 Count how many bits are still set. More...

Private Types

typedef unsigned long elt_type

Private Member Functions

 GlassFreeListChecker (const GlassFreeListChecker &)
GlassFreeListCheckeroperator= (const GlassFreeListChecker &)

Private Attributes

uint4 bitmap_size

Detailed Description

Definition at line 152 of file glass_freelist.h.

Member Typedef Documentation

◆ elt_type

typedef unsigned long GlassFreeListChecker::elt_type

Definition at line 154 of file glass_freelist.h.

Constructor & Destructor Documentation

◆ GlassFreeListChecker() [1/2]

GlassFreeListChecker::GlassFreeListChecker ( const GlassFreeListChecker )

◆ GlassFreeListChecker() [2/2]

GlassFreeListChecker::GlassFreeListChecker ( const GlassFreeList fl)

Definition at line 262 of file glass_freelist.cc.

References GlassFreeList::get_first_unused_block().

◆ ~GlassFreeListChecker()

GlassFreeListChecker::~GlassFreeListChecker ( )

Definition at line 167 of file glass_freelist.h.

Member Function Documentation

◆ count_set_bits()

uint4 GlassFreeListChecker::count_set_bits ( uint4 p_first_bad_blk) const

Count how many bits are still set.

Definition at line 280 of file glass_freelist.cc.

References usual.

Referenced by GlassTableCheck::check().

◆ mark_used()

bool GlassFreeListChecker::mark_used ( uint4  n)

Definition at line 171 of file glass_freelist.h.

References GlassFLCursor::n, and rare.

Referenced by GlassTableCheck::block_check(), and GlassTableCheck::check().

◆ operator=()

GlassFreeListChecker& GlassFreeListChecker::operator= ( const GlassFreeListChecker )

Member Data Documentation

◆ bitmap

elt_type* GlassFreeListChecker::bitmap

Definition at line 158 of file glass_freelist.h.

◆ bitmap_size

uint4 GlassFreeListChecker::bitmap_size

Definition at line 156 of file glass_freelist.h.

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