#include <StoreSearchUFS.h>

Inheritance diagram for Fs::Ufs::StoreSearchUFS:
Collaboration diagram for Fs::Ufs::StoreSearchUFS:

Public Member Functions

 StoreSearchUFS (RefCount< UFSSwapDir > sd)
 
virtual ~StoreSearchUFS ()
 
virtual void next (void(callback)(void *cbdata), void *cbdata)
 
virtual bool next ()
 
virtual bool error () const
 
virtual bool isDone () const
 
virtual StoreEntrycurrentItem ()
 

Public Attributes

RefCount< UFSSwapDirsd
 
RemovalPolicyWalkerwalker
 

Private Member Functions

 CBDATA_CLASS (StoreSearchUFS)
 
void() callback (void *cbdata)
 
 StoreSearchUFS (StoreSearchUFS const &)
 
StoreSearchUFSoperator= (StoreSearchUFS const &)
 
 StoreSearchUFS ()
 

Private Attributes

void * cbdata
 
StoreEntrycurrent
 
bool _done
 

Detailed Description

Definition at line 20 of file StoreSearchUFS.h.

Constructor & Destructor Documentation

Fs::Ufs::StoreSearchUFS::StoreSearchUFS ( RefCount< UFSSwapDir sd)

Definition at line 18 of file StoreSearchUFS.cc.

Fs::Ufs::StoreSearchUFS::~StoreSearchUFS ( )
virtual

Definition at line 26 of file StoreSearchUFS.cc.

References NULL.

Fs::Ufs::StoreSearchUFS::StoreSearchUFS ( StoreSearchUFS const &  )
private
Fs::Ufs::StoreSearchUFS::StoreSearchUFS ( )
private

Member Function Documentation

void() Fs::Ufs::StoreSearchUFS::callback ( void *  cbdata)
private
Bug:
(callback) should be hidden behind a proper human readable name
Fs::Ufs::StoreSearchUFS::CBDATA_CLASS ( StoreSearchUFS  )
private
StoreEntry * Fs::Ufs::StoreSearchUFS::currentItem ( )
virtual

Implements StoreSearch.

Definition at line 68 of file StoreSearchUFS.cc.

bool Fs::Ufs::StoreSearchUFS::error ( ) const
virtual

Implements StoreSearch.

Definition at line 56 of file StoreSearchUFS.cc.

bool Fs::Ufs::StoreSearchUFS::isDone ( ) const
virtual

Implements StoreSearch.

Definition at line 62 of file StoreSearchUFS.cc.

virtual void Fs::Ufs::StoreSearchUFS::next ( void(callback)(void *cbdata ,
void *  cbdata 
)
virtual
Todo:
Iterator API - garh, wrong place

callback the client when a new StoreEntry is available or an error occurs

Implements StoreSearch.

bool Fs::Ufs::StoreSearchUFS::next ( )
virtual
Return values
trueif a new StoreEntry is immediately available
falseif a new StoreEntry is NOT immediately available

Implements StoreSearch.

Definition at line 40 of file StoreSearchUFS.cc.

References NULL.

StoreSearchUFS& Fs::Ufs::StoreSearchUFS::operator= ( StoreSearchUFS const &  )
private

Member Data Documentation

bool Fs::Ufs::StoreSearchUFS::_done
private

Definition at line 53 of file StoreSearchUFS.h.

void* Fs::Ufs::StoreSearchUFS::cbdata
private

Definition at line 51 of file StoreSearchUFS.h.

StoreEntry* Fs::Ufs::StoreSearchUFS::current
private

Definition at line 52 of file StoreSearchUFS.h.

RefCount<UFSSwapDir> Fs::Ufs::StoreSearchUFS::sd

Definition at line 45 of file StoreSearchUFS.h.

RemovalPolicyWalker* Fs::Ufs::StoreSearchUFS::walker

Definition at line 46 of file StoreSearchUFS.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors