knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <FormulaQuery.h>
Public Member Functions | |
FormulaQuery (FormulaPtr formula, const QueryContextPtr &ctx) | |
const FormulaPtr & | formula () const |
void | write (std::ostream &os) const override |
FormulaQuery (FormulaPtr formula, const QueryContextPtr &ctx) | |
const FormulaPtr & | formula () const |
void | write (std::ostream &os) const override |
Public Member Functions inherited from knowrob::Query | |
Query (QueryContextPtr ctx=DefaultQueryContext()) | |
virtual | ~Query ()=default |
auto & | ctx () const |
void | setContext (QueryContextPtr ctx) |
Query (QueryContextPtr ctx=DefaultQueryContext()) | |
virtual | ~Query ()=default |
auto & | ctx () const |
void | setContext (QueryContextPtr ctx) |
Public Member Functions inherited from knowrob::Printable | |
virtual | ~Printable ()=default |
virtual std::string | format () const |
virtual | ~Printable ()=default |
virtual std::string | format () const |
Protected Attributes | |
const std::shared_ptr< Formula > | formula_ |
Protected Attributes inherited from knowrob::Query | |
QueryContextPtr | ctx_ |
A query represented by a logical formula.
Definition at line 16 of file FormulaQuery.h.
|
inline |
formula | the formula to query. |
ctx | the query context. |
Definition at line 22 of file FormulaQuery.h.
|
inline |
|
inline |
Definition at line 25 of file FormulaQuery.h.
|
inline |
Definition at line 25 of file FormulaQuery.h.
|
inlineoverridevirtual |
Print this object to a stream.
os | the stream to print to. |
Implements knowrob::Printable.
Definition at line 28 of file FormulaQuery.h.
|
inlineoverridevirtual |
Print this object to a stream.
os | the stream to print to. |
Implements knowrob::Printable.
Definition at line 28 of file FormulaQuery.h.
|
protected |
Definition at line 31 of file FormulaQuery.h.