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
19
~Connection
();
20
24
mongoc_uri_t *
uri_
;
28
std::string
uri_string_
;
32
mongoc_client_pool_t *
pool_
;
33
};
34
}
35
36
37
#endif
//KNOWROB_MONGO_CONNECTION_H
knowrob::mongo
Definition:
BindingsCursor.h:12
knowrob::parsers::terms::string
TermRule & string()
Definition:
terms.cpp:63
knowrob::mongo::Connection::~Connection
~Connection()
knowrob::mongo::Connection::uri_string_
std::string uri_string_
Definition:
Connection.h:28
knowrob::mongo::Connection::uri_
mongoc_uri_t * uri_
Definition:
Connection.h:24
knowrob::mongo::Connection::pool_
mongoc_client_pool_t * pool_
Definition:
Connection.h:32
knowrob::mongo::Connection::Connection
Connection(std::string_view uri_string)
include
knowrob
storage
mongo
Connection.h
Generated by
1.9.1