Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Goal Class Reference

#include "common/query.hpp"

Description

Query ABC: unspecific goal for resolution or retrieval.

Goal elements are used within the backbone of a generic query system to access individual resolution mechanisms based on an internal classification of the type of query.

Definition at line 116 of file query.hpp.

Classes

struct  QueryID
 
class  Result
 Single Solution, possibly part of a result set. More...
 

Public Types

enum  Kind {
  EMPTY = 0 ,
  GENERIC = 1 ,
  DISCOVERY ,
  PLACEMENT
}
 

Public Member Functions

virtual ~Goal ()
 this is a marker baseclass
 
QueryID const & getQID () const
 

Protected Member Functions

 Goal (QueryID qid)
 

Protected Attributes

QueryID id_
 

Additional Inherited Members

- Private Member Functions inherited from Cloneable
 ~Cloneable ()=default
 
 Cloneable ()=default
 
 Cloneable (Cloneable &&)=delete
 
 Cloneable (Cloneable const &)=default
 
Cloneableoperator= (Cloneable &&)=delete
 
Cloneableoperator= (Cloneable const &)=delete
 

Constructor & Destructor Documentation

◆ ~Goal()

~Goal ( )
virtual

this is a marker baseclass

Definition at line 36 of file query-resolver.cpp.

◆ Goal()

Goal ( QueryID  qid)
inlineprotected

Definition at line 183 of file query.hpp.

Member Enumeration Documentation

◆ Kind

enum Kind
Enumerator
EMPTY 
GENERIC 
DISCOVERY 
PLACEMENT 

Definition at line 122 of file query.hpp.

Member Function Documentation

◆ getQID()

QueryID const & getQID ( ) const
inline

Definition at line 144 of file query.hpp.

References Goal::id_.

Referenced by Query< RES >::Query(), QueryResolver::canHandle(), QueryDispatcher::handle(), PlacementIndexQueryResolver::resolutionFunction(), and DummyTypedSolutionProducer::resolutionFunction().

+ Here is the caller graph for this function:

Member Data Documentation

◆ id_

QueryID id_
protected

Definition at line 181 of file query.hpp.

Referenced by Goal::getQID().

+ Inheritance diagram for Goal:
+ Collaboration diagram for Goal:

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