knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
Connection.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_MONGO_CONNECTION_H
7 #define KNOWROB_MONGO_CONNECTION_H
8 
9 #include <string>
10 #include <mongoc/mongoc.h>
11 
12 namespace knowrob::mongo {
16  struct Connection {
17  explicit Connection(std::string_view uri_string);
18 
20 
24  mongoc_uri_t *uri_;
32  mongoc_client_pool_t *pool_;
33  };
34 }
35 
36 
37 #endif //KNOWROB_MONGO_CONNECTION_H
TermRule & string()
Definition: terms.cpp:63
mongoc_client_pool_t * pool_
Definition: Connection.h:32
Connection(std::string_view uri_string)