knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
knowrob::mongo::TripleStore Struct Reference

#include <TripleStore.h>

Public Member Functions

 TripleStore (std::shared_ptr< knowrob::mongo::Collection > tripleCollection, std::shared_ptr< knowrob::mongo::Collection > oneCollection, std::shared_ptr< knowrob::Vocabulary > vocabulary)
 
 TripleStore (std::shared_ptr< knowrob::mongo::Collection > tripleCollection, std::shared_ptr< knowrob::mongo::Collection > oneCollection, std::shared_ptr< knowrob::Vocabulary > vocabulary)
 

Public Attributes

std::shared_ptr< knowrob::mongo::CollectiontripleCollection
 
std::shared_ptr< knowrob::mongo::CollectiononeCollection
 
std::shared_ptr< knowrob::Vocabularyvocabulary
 

Detailed Description

Encapsulates common objects when working with triples.

Definition at line 19 of file TripleStore.h.

Constructor & Destructor Documentation

◆ TripleStore() [1/2]

knowrob::mongo::TripleStore::TripleStore ( std::shared_ptr< knowrob::mongo::Collection tripleCollection,
std::shared_ptr< knowrob::mongo::Collection oneCollection,
std::shared_ptr< knowrob::Vocabulary vocabulary 
)
inline

Definition at line 20 of file TripleStore.h.

23  : tripleCollection(std::move(tripleCollection)),
24  oneCollection(std::move(oneCollection)),
25  vocabulary(std::move(vocabulary)) {}
std::shared_ptr< knowrob::mongo::Collection > oneCollection
Definition: TripleStore.h:28
std::shared_ptr< knowrob::mongo::Collection > tripleCollection
Definition: TripleStore.h:27
std::shared_ptr< knowrob::Vocabulary > vocabulary
Definition: TripleStore.h:29

◆ TripleStore() [2/2]

knowrob::mongo::TripleStore::TripleStore ( std::shared_ptr< knowrob::mongo::Collection tripleCollection,
std::shared_ptr< knowrob::mongo::Collection oneCollection,
std::shared_ptr< knowrob::Vocabulary vocabulary 
)
inline

Definition at line 20 of file TripleStore.h.

23  : tripleCollection(std::move(tripleCollection)),
24  oneCollection(std::move(oneCollection)),
25  vocabulary(std::move(vocabulary)) {}

Member Data Documentation

◆ oneCollection

std::shared_ptr< knowrob::mongo::Collection > knowrob::mongo::TripleStore::oneCollection

Definition at line 28 of file TripleStore.h.

◆ tripleCollection

std::shared_ptr< knowrob::mongo::Collection > knowrob::mongo::TripleStore::tripleCollection

Definition at line 27 of file TripleStore.h.

◆ vocabulary

std::shared_ptr< knowrob::Vocabulary > knowrob::mongo::TripleStore::vocabulary

Definition at line 29 of file TripleStore.h.


The documentation for this struct was generated from the following file: