knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
Blank.h
Go to the documentation of this file.
1 /*
2  * This file is part of KnowRob, please consult
3  * https://github.com/knowrob/knowrob for license details.
4  */
5 
6 #ifndef KNOWROB_BLANK_H
7 #define KNOWROB_BLANK_H
8 
9 #include "RDFNode.h"
10 #include "Atom.h"
11 
12 namespace knowrob {
16  class Blank : public Atom, public RDFNode {
17  public:
22  explicit Blank(std::string_view name) : Atom(name), RDFNode(RDFNodeType::BLANK) {
23  isBlank_ = true;
24  }
25 
30  static std::shared_ptr<Blank> Tabled(std::string_view stringForm);
31  };
32 
33 } // knowrob
34 
35 #endif //KNOWROB_BLANK_H
std::string_view stringForm() const final
Definition: Atom.h:55
static std::shared_ptr< Blank > Tabled(std::string_view stringForm)
Blank(std::string_view name)
Definition: Blank.h:22
bool isBlank_
Definition: Term.h:112
RDFNodeType
Definition: RDFNode.h:15