|
knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <RDFIndicator.h>
Public Member Functions | |
| RDFIndicator (const PredicatePtr &predicate) | |
| RDFIndicator (std::string_view functor, size_t arity) | |
| RDFIndicator (size_t arity) | |
| RDFIndicator (const PredicatePtr &predicate) | |
| RDFIndicator (std::string_view functor, size_t arity) | |
| RDFIndicator (size_t arity) | |
Public Attributes | |
| std::optional< std::string_view > | functor |
| size_t | arity |
A predicate indicator but in case of RDF predicates the functor can be a variable in which case the functor of the indicator is not defined.
Definition at line 19 of file RDFIndicator.h.
|
explicit |
Create a new RDF indicator with the given predicate.
| predicate | the predicate |
Definition at line 10 of file RDFIndicator.cpp.
| RDFIndicator::RDFIndicator | ( | std::string_view | functor, |
| size_t | arity | ||
| ) |
|
explicit |
Create a new RDF indicator with the given arity.
| arity | the arity of the indicator |
Definition at line 27 of file RDFIndicator.cpp.
|
explicit |
Create a new RDF indicator with the given predicate.
| predicate | the predicate |
| knowrob::RDFIndicator::RDFIndicator | ( | std::string_view | functor, |
| size_t | arity | ||
| ) |
Create a new RDF indicator with the given functor and arity.
| functor | the functor of the indicator |
| arity | the arity of the indicator |
|
explicit |
Create a new RDF indicator with the given arity.
| arity | the arity of the indicator |
| size_t knowrob::RDFIndicator::arity |
Definition at line 40 of file RDFIndicator.h.
| std::optional< std::string_view > knowrob::RDFIndicator::functor |
Definition at line 39 of file RDFIndicator.h.