knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <Blank.h>
Public Member Functions | |
Blank (std::string_view name) | |
Blank (std::string_view name) | |
Public Member Functions inherited from knowrob::Atom | |
Atom (std::string_view stringForm, AtomType atomType=AtomType::REGULAR) | |
bool | isSameAtom (const Atom &other) const |
AtomType | atomType () const |
std::string_view | stringForm () const final |
void | write (std::ostream &os) const override |
Atom (std::string_view stringForm, AtomType atomType=AtomType::REGULAR) | |
bool | isSameAtom (const Atom &other) const |
AtomType | atomType () const |
std::string_view | stringForm () const final |
void | write (std::ostream &os) const override |
Public Member Functions inherited from knowrob::Atomic | |
Atomic (AtomicType atomicType) | |
~Atomic () override=default | |
bool | isSameAtomic (const Atomic &other) const |
AtomicType | atomicType () const |
size_t | hashOfAtomic () const |
const std::set< std::string_view > & | variables () const final |
Atomic (AtomicType atomicType) | |
~Atomic () override=default | |
bool | isSameAtomic (const Atomic &other) const |
AtomicType | atomicType () const |
size_t | hashOfAtomic () const |
const std::set< std::string_view > & | variables () const final |
void | write (std::ostream &os) const override |
Public Member Functions inherited from knowrob::Term | |
Term (TermType termType) | |
~Term () override=default | |
bool | operator== (const Term &other) const |
bool | operator!= (const Term &other) const |
TermType | termType () const |
bool | isGround () const |
bool | isAtomic () const |
bool | isAtom () const |
bool | isVariable () const |
bool | isFunction () const |
bool | isNumeric () const |
bool | isString () const |
bool | isIRI () const |
bool | isBlank () const |
size_t | hash () const |
Term (TermType termType) | |
~Term () override=default | |
bool | operator== (const Term &other) const |
bool | operator!= (const Term &other) const |
TermType | termType () const |
bool | isGround () const |
bool | isAtomic () const |
bool | isAtom () const |
bool | isVariable () const |
bool | isFunction () const |
bool | isNumeric () const |
bool | isString () const |
bool | isIRI () const |
bool | isBlank () const |
size_t | hash () const |
Public Member Functions inherited from knowrob::Printable | |
virtual | ~Printable ()=default |
virtual std::string | format () const |
virtual | ~Printable ()=default |
virtual std::string | format () const |
Public Member Functions inherited from knowrob::RDFNode | |
RDFNode (RDFNodeType rdfNodeType) | |
auto | rdfNodeType () const |
RDFNode (RDFNodeType rdfNodeType) | |
auto | rdfNodeType () const |
Static Public Member Functions | |
static std::shared_ptr< Blank > | Tabled (std::string_view stringForm) |
static std::shared_ptr< Blank > | Tabled (std::string_view stringForm) |
Static Public Member Functions inherited from knowrob::Atom | |
static std::shared_ptr< knowrob::Atom > | Tabled (std::string_view stringForm) |
static std::shared_ptr< knowrob::Atom > | Tabled (std::string_view stringForm) |
Static Public Member Functions inherited from knowrob::Atomic | |
static std::shared_ptr< Atomic > | makeTripleValue (const Triple &triple) |
static std::shared_ptr< Atomic > | makeTripleValue (const Triple &triple) |
Additional Inherited Members | |
Protected Types inherited from knowrob::Atom | |
using | AtomTable = std::map< std::string, std::optional< std::weak_ptr< Atom > >, std::less<> > |
using | AtomTable = std::map< std::string, std::optional< std::weak_ptr< Atom > >, std::less<> > |
Static Protected Member Functions inherited from knowrob::Atom | |
static AtomTable & | table () |
static AtomTable & | table () |
Protected Attributes inherited from knowrob::Atom | |
std::string_view | stringForm_ |
const AtomType | atomType_ |
Protected Attributes inherited from knowrob::Atomic | |
const AtomicType | atomicType_ |
Protected Attributes inherited from knowrob::Term | |
const TermType | termType_ |
bool | isBlank_ = false |
bool | isIRI_ = false |
Protected Attributes inherited from knowrob::RDFNode | |
const RDFNodeType | rdfNodeType_ |
Static Protected Attributes inherited from knowrob::Term | |
static const std::set< std::string_view > | noVariables_ = {} |
A blank node is a node in an RDF graph that is neither a URI nor a literal.
|
inlineexplicit |
Constructs a blank node from a name.
name | the name of the blank node |
Definition at line 22 of file Blank.h.
|
inlineexplicit |
|
static |
|
static |
stringForm | the string form of the IRI |