knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
knowrob::QueryContext Struct Reference

#include <QueryContext.h>

Collaboration diagram for knowrob::QueryContext:

Public Member Functions

 QueryContext (int queryFlags=QUERY_FLAG_ALL_SOLUTIONS)
 
 QueryContext (const QueryContext &other, const ModalOperatorPtr &modalOperator)
 
 QueryContext (int queryFlags=QUERY_FLAG_ALL_SOLUTIONS)
 
 QueryContext (const QueryContext &other, const ModalOperatorPtr &modalOperator)
 

Public Attributes

int queryFlags
 
ModalIteration modalIteration
 
GraphSelector selector
 

Detailed Description

The context in which a query is evaluated.

Definition at line 19 of file QueryContext.h.

Constructor & Destructor Documentation

◆ QueryContext() [1/4]

knowrob::QueryContext::QueryContext ( int  queryFlags = QUERY_FLAG_ALL_SOLUTIONS)
inlineexplicit

Definition at line 20 of file QueryContext.h.

◆ QueryContext() [2/4]

knowrob::QueryContext::QueryContext ( const QueryContext other,
const ModalOperatorPtr modalOperator 
)
inline

Definition at line 23 of file QueryContext.h.

24  : queryFlags(other.queryFlags), modalIteration(other.modalIteration + modalOperator) {
25  }

◆ QueryContext() [3/4]

knowrob::QueryContext::QueryContext ( int  queryFlags = QUERY_FLAG_ALL_SOLUTIONS)
inlineexplicit

◆ QueryContext() [4/4]

knowrob::QueryContext::QueryContext ( const QueryContext other,
const ModalOperatorPtr modalOperator 
)
inline

Definition at line 23 of file QueryContext.h.

24  : queryFlags(other.queryFlags), modalIteration(other.modalIteration + modalOperator) {
25  }

Member Data Documentation

◆ modalIteration

ModalIteration knowrob::QueryContext::modalIteration

The modal iteration in which the query is evaluated.

Definition at line 34 of file QueryContext.h.

◆ queryFlags

int knowrob::QueryContext::queryFlags

The query flags bitmask with values from QueryFlags.

Definition at line 30 of file QueryContext.h.

◆ selector

GraphSelector knowrob::QueryContext::selector

The frame of triples in this context.

Definition at line 38 of file QueryContext.h.


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