knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
RDFNode.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_RDF_NODE_H
7 #define KNOWROB_RDF_NODE_H
8 
9 #include <string>
10 
11 namespace knowrob {
15  enum class RDFNodeType {
17  BLANK,
19  IRI,
21  LITERAL
22  };
23 
27  class RDFNode {
28  public:
30 
31  auto rdfNodeType() const { return rdfNodeType_; }
32 
33  protected:
35  };
36 
42  RDFNodeType rdfNodeTypeGuess(std::string_view str);
43 
44 } // knowrob
45 
46 #endif //KNOWROB_RDF_NODE_H
auto rdfNodeType() const
Definition: RDFNode.h:31
const RDFNodeType rdfNodeType_
Definition: RDFNode.h:34
RDFNode(RDFNodeType rdfNodeType)
Definition: RDFNode.h:29
RDFNodeType rdfNodeTypeGuess(std::string_view str)
Definition: RDFNode.cpp:11
RDFNodeType
Definition: RDFNode.h:15