knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <GraphPattern.h>
Public Member Functions | |
GraphPattern (TriplePatternPtr pattern) | |
GraphPattern (const TermPtr &subject, const TermPtr &predicate, const TermPtr &object) | |
const auto & | value () const |
void | write (std::ostream &os) const override |
GraphPattern (TriplePatternPtr pattern) | |
GraphPattern (const TermPtr &subject, const TermPtr &predicate, const TermPtr &object) | |
const auto & | value () const |
void | write (std::ostream &os) const override |
Public Member Functions inherited from knowrob::GraphTerm | |
virtual | ~GraphTerm ()=default |
bool | isPattern () const |
bool | isBuiltin () const |
auto | termType () const |
virtual | ~GraphTerm ()=default |
bool | isPattern () const |
bool | isBuiltin () const |
auto | termType () const |
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 | |
TriplePatternPtr | pattern_ |
Protected Attributes inherited from knowrob::GraphTerm | |
GraphTermType | termType_ |
Additional Inherited Members | |
Protected Member Functions inherited from knowrob::GraphTerm | |
GraphTerm (GraphTermType termType) | |
GraphTerm (GraphTermType termType) | |
A triple pattern that appears in a graph query.
Definition at line 16 of file GraphPattern.h.
|
inlineexplicit |
Definition at line 18 of file GraphPattern.h.
|
inlineexplicit |
Definition at line 22 of file GraphPattern.h.
|
inlineexplicit |
Definition at line 18 of file GraphPattern.h.
|
inlineexplicit |
Definition at line 22 of file GraphPattern.h.
|
inline |
|
inline |
|
inlineoverridevirtual |
Print this object to a stream.
os | the stream to print to. |
Implements knowrob::GraphTerm.
Definition at line 31 of file GraphPattern.h.
|
inlineoverridevirtual |
Print this object to a stream.
os | the stream to print to. |
Implements knowrob::GraphTerm.
Definition at line 31 of file GraphPattern.h.
|
protected |
Definition at line 34 of file GraphPattern.h.