MongoDB  2.6.0
dbclient.h
Go to the documentation of this file.
1 
7 /* Copyright 2009 10gen Inc.
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21 
22 #pragma once
23 
24 #ifdef MONGO_EXPOSE_MACROS
25 #error dbclient.h is for C++ driver consumer use only
26 #endif
27 
28 #define LIBMONGOCLIENT_CONSUMER
29 
31 
32 #include "mongo/pch.h"
33 
34 #include "mongo/client/connpool.h"
36 #include "mongo/client/dbclientcursor.h"
38 #include "mongo/client/gridfs.h"
39 #include "mongo/client/init.h"
40 #include "mongo/client/sasl_client_authenticate.h"
41 #include "mongo/client/syncclusterconnection.h"
42 #include "mongo/util/net/ssl_options.h"
43 
remove mongo implementation macros after using
macros for mongo internals
Connect to a Replica Set, from C++.
Core MongoDB C++ driver interfaces are defined here.