knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <UnReificationContainer.h>
Public Member Functions | |
void | add (const Triple &triple) |
ConstGenerator | cgenerator () const override |
void | add (const Triple &triple) |
ConstGenerator | cgenerator () const override |
Public Member Functions inherited from knowrob::TripleContainer | |
virtual | ~TripleContainer ()=default |
iterator | begin () const |
bool | empty () const |
virtual bool | isMutable () const |
virtual | ~TripleContainer ()=default |
iterator | begin () const |
bool | empty () const |
virtual bool | isMutable () const |
Protected Member Functions | |
TriplePtr & | getUnReifiedTriple (std::string_view subject) |
TriplePtr & | getUnReifiedTriple (std::string_view subject) |
Protected Attributes | |
std::map< std::string_view, TriplePtr > | triples_ |
Additional Inherited Members | |
Public Types inherited from knowrob::TripleContainer | |
using | ConstGenerator = std::function< const TriplePtr *()> |
using | ConstGenerator = std::function< const TriplePtr *()> |
Static Public Member Functions inherited from knowrob::TripleContainer | |
static iterator | end () |
static iterator | end () |
A container that reverses the reification of input triples.
Definition at line 16 of file UnReificationContainer.h.
void UnReificationContainer::add | ( | const Triple & | triple | ) |
Add a triple to the container.
triple | the triple to add. |
Definition at line 32 of file UnReificationContainer.cpp.
void knowrob::UnReificationContainer::add | ( | const Triple & | triple | ) |
Add a triple to the container.
triple | the triple to add. |
|
overridevirtual |
Implements knowrob::TripleContainer.
Definition at line 14 of file UnReificationContainer.cpp.
|
overridevirtual |
Implements knowrob::TripleContainer.
|
protected |
Definition at line 23 of file UnReificationContainer.cpp.
|
protected |
|
protected |
Definition at line 28 of file UnReificationContainer.h.