24 #ifdef MONGO_EXPOSE_MACROS
25 #error dbclient.h is for C++ driver consumer use only
32 #ifndef STATIC_LIBMONGOCLIENT
33 #if defined(_WIN32) && !defined(_DLL)
34 #error "The DLL build of libmongoclient requires consuming code to be built with /MD or /MDd"
41 #pragma warning(disable : 4996)
44 #pragma warning(disable : 4251)
45 #pragma warning(disable : 4275)
49 #if defined(_WIN32) && !defined(_WINSOCK2API_)
50 #error "You must include the windows and windows sockets headers before dbclient.h"
53 #include "mongo/config.h"
57 #include "mongo/client/autolib.h"
60 #include "mongo/client/dbclientcursor.h"
63 #include "mongo/client/init.h"
64 #include "mongo/client/options.h"
65 #include "mongo/client/sasl_client_authenticate.h"
66 #include "mongo/geo/interface.h"
67 #include "mongo/version.h"
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.