Xpace
Xpace::Index::Sink Class Referenceabstract

traverse each term, or each reference, in an interval of terms More...

#include <index.h>

Public Member Functions

virtual ~Sink ()
 
virtual bool term (const String &key, uint64 count)=0
 called for each term More...
 
virtual bool ref (const Ref< uint64 > &)
 called for each ref More...
 

Detailed Description

traverse each term, or each reference, in an interval of terms

Definition at line 260 of file index.h.

Constructor & Destructor Documentation

virtual Xpace::Index::Sink::~Sink ( )
inlinevirtual

Definition at line 264 of file index.h.

Member Function Documentation

virtual bool Xpace::Index::Sink::term ( const String key,
uint64  count 
)
pure virtual

called for each term

Parameters
keya string representation (from a Collator) of this index term
countthe count (if stored in the Index) of references to the key
Returns
true to continue, false to stop
virtual bool Xpace::Index::Sink::ref ( const Ref< uint64 > &  )
inlinevirtual

called for each ref

Parameters
refthe ref
Returns
true to continue, false to stop

Definition at line 280 of file index.h.

References sink.


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

current as of Wed Jun 10 2026 12:00:06