knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
ReificationContainer.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_REIFICATION_CONTAINER_H
7 #define KNOWROB_REIFICATION_CONTAINER_H
8 
9 #include <utility>
10 
11 #include "knowrob/semweb/TripleContainer.h"
12 #include "knowrob/semweb/Vocabulary.h"
13 
14 namespace knowrob {
15  using ReifiedNames = std::shared_ptr<std::vector<IRIAtomPtr>>;
16 
20  class ReificationContainer : public TripleContainer {
21  public:
22  explicit ReificationContainer(TripleContainerPtr originalTriples,
23  VocabularyPtr vocabulary,
24  ReifiedNames reifiedNames);
25 
26  // Override TripleContainer
27  ConstGenerator cgenerator() const override;
28 
29  protected:
33  };
34 } // knowrob
35 
36 #endif //KNOWROB_REIFICATION_CONTAINER_H
ReificationContainer(TripleContainerPtr originalTriples, VocabularyPtr vocabulary, ReifiedNames reifiedNames)
ConstGenerator cgenerator() const override
std::function< const TriplePtr *()> ConstGenerator
std::shared_ptr< TripleContainer > TripleContainerPtr
std::shared_ptr< std::vector< IRIAtomPtr > > ReifiedNames
std::shared_ptr< Vocabulary > VocabularyPtr
Definition: Vocabulary.h:233