Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
ResultSet Class Reference

Description

on query, an individual result set is prepared to be explored by the invoking client code.

It is built wrapping the low-level scope iterator obtained from the index, controlled by an exploration strategy. Embedded into the iterator there is a smart-ptr managing this ResultSet.

Definition at line 193 of file placement-index-query-resolver.cpp.

Public Member Functions

 ResultSet (ExplorerBuilder b, ContentFilter a)
 
- Public Member Functions inherited from Resolution
virtual ~Resolution ()
 

Private Member Functions

virtual Result prepareResolution ()
 
virtual void nextResult (Result &pos)
 
void exploreNext (Result &res)
 

Private Attributes

ContentFilter acceptable_
 
ExplorerBuilder buildExploartion_
 
unique_ptr< Explorerexplore_
 

Additional Inherited Members

- Public Types inherited from Resolution
typedef Goal::Result Result
 

Constructor & Destructor Documentation

◆ ResultSet()

ResultSet ( ExplorerBuilder  b,
ContentFilter  a 
)
inline

Definition at line 238 of file placement-index-query-resolver.cpp.

Member Function Documentation

◆ prepareResolution()

virtual Result prepareResolution ( )
inlineprivatevirtual

Implements Resolution.

Definition at line 202 of file placement-index-query-resolver.cpp.

References ResultSet::buildExploartion_, ResultSet::explore_, and ResultSet::exploreNext().

+ Here is the call graph for this function:

◆ nextResult()

virtual void nextResult ( Result pos)
inlineprivatevirtual

Implements Resolution.

Definition at line 212 of file placement-index-query-resolver.cpp.

References ResultSet::exploreNext().

+ Here is the call graph for this function:

◆ exploreNext()

void exploreNext ( Result res)
inlineprivate

Definition at line 218 of file placement-index-query-resolver.cpp.

References ResultSet::acceptable_, and ResultSet::explore_.

Referenced by ResultSet::nextResult(), and ResultSet::prepareResolution().

+ Here is the caller graph for this function:

Member Data Documentation

◆ acceptable_

ContentFilter acceptable_
private

Definition at line 196 of file placement-index-query-resolver.cpp.

Referenced by ResultSet::exploreNext().

◆ buildExploartion_

ExplorerBuilder buildExploartion_
private

Definition at line 197 of file placement-index-query-resolver.cpp.

Referenced by ResultSet::prepareResolution().

◆ explore_

unique_ptr<Explorer> explore_
private
+ Inheritance diagram for ResultSet:
+ Collaboration diagram for ResultSet:

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