iterates local store_table More...

Inheritance diagram for Store::LocalSearch:
Collaboration diagram for Store::LocalSearch:

Public Member Functions

void next (void(callback)(void *cbdata), void *cbdata) override
 
bool next () override
 
bool error () const override
 
bool isDone () const override
 
StoreEntrycurrentItem () override
 

Private Member Functions

 CBDATA_CLASS (LocalSearch)
 
void copyBucket ()
 

Private Attributes

bool _done = false
 
int bucket = 0
 
std::vector< StoreEntry * > entries
 

Detailed Description

Definition at line 20 of file LocalSearch.cc.

Member Function Documentation

◆ CBDATA_CLASS()

Store::LocalSearch::CBDATA_CLASS ( LocalSearch  )
private

◆ copyBucket()

void Store::LocalSearch::copyBucket ( )
private

Definition at line 90 of file LocalSearch.cc.

References assert, debugs, hash_get_bucket(), hash_link::next, and store_table.

◆ currentItem()

StoreEntry * Store::LocalSearch::currentItem ( )
overridevirtual

Implements StoreSearch.

Definition at line 81 of file LocalSearch.cc.

◆ error()

bool Store::LocalSearch::error ( ) const
overridevirtual

Implements StoreSearch.

Definition at line 69 of file LocalSearch.cc.

◆ isDone()

bool Store::LocalSearch::isDone ( ) const
overridevirtual

Implements StoreSearch.

Definition at line 75 of file LocalSearch.cc.

References store_hash_buckets.

◆ next() [1/2]

bool Store::LocalSearch::next ( )
overridevirtual

Implements StoreSearch.

Definition at line 57 of file LocalSearch.cc.

◆ next() [2/2]

void Store::LocalSearch::next ( void(callback)(void *cbdata ,
void *  cbdata 
)
overridevirtual

Implements StoreSearch.

Member Data Documentation

◆ _done

bool Store::LocalSearch::_done = false
private

Definition at line 34 of file LocalSearch.cc.

◆ bucket

int Store::LocalSearch::bucket = 0
private

Definition at line 35 of file LocalSearch.cc.

◆ entries

std::vector<StoreEntry *> Store::LocalSearch::entries
private

Definition at line 36 of file LocalSearch.cc.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors