iterates local store_table More...

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

Public Member Functions

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

Private Member Functions

 CBDATA_CLASS (LocalSearch)
 
void copyBucket ()
 

Private Attributes

void(* callback )(void *cbdata)
 
void * cbdata
 
bool _done
 
int bucket
 
std::vector< StoreEntry * > entries
 

Detailed Description

Definition at line 20 of file LocalSearch.cc.

Constructor & Destructor Documentation

Store::LocalSearch::LocalSearch ( )

Definition at line 53 of file LocalSearch.cc.

Member Function Documentation

Store::LocalSearch::CBDATA_CLASS ( LocalSearch  )
private
void Store::LocalSearch::copyBucket ( )
private

Definition at line 101 of file LocalSearch.cc.

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

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

Implements StoreSearch.

Definition at line 92 of file LocalSearch.cc.

References NULL.

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

Implements StoreSearch.

Definition at line 80 of file LocalSearch.cc.

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

Implements StoreSearch.

Definition at line 86 of file LocalSearch.cc.

References store_hash_buckets.

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

Implements StoreSearch.

bool Store::LocalSearch::next ( )
overridevirtual

Implements StoreSearch.

Definition at line 68 of file LocalSearch.cc.

References NULL.

Member Data Documentation

bool Store::LocalSearch::_done
private

Definition at line 38 of file LocalSearch.cc.

int Store::LocalSearch::bucket
private

Definition at line 39 of file LocalSearch.cc.

void(* Store::LocalSearch::callback)(void *cbdata)
private

Definition at line 36 of file LocalSearch.cc.

void* Store::LocalSearch::cbdata
private

Definition at line 37 of file LocalSearch.cc.

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

Definition at line 40 of file LocalSearch.cc.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors