| 1 |
/****************************************************************************** |
| 2 |
* |
| 3 |
* Project: GDAL |
| 4 |
* Purpose: Includes MongoDB C++ v3 SDK headers |
| 5 |
* Author: Even Rouault <even dot rouault at spatialys dot com> |
| 6 |
* |
| 7 |
****************************************************************************** |
| 8 |
* Copyright (c) 2019, Even Rouault <even dot rouault at spatialys dot com> |
| 9 |
* |
| 10 |
* SPDX-License-Identifier: MIT |
| 11 |
*****************************************************************************/ |
| 12 |
|
| 13 |
#ifndef MONGOCXXV3_HEADERS_H |
| 14 |
#define MONGOCXXV3_HEADERS_H |
| 15 |
|
| 16 |
#if defined(__GNUC__) && !defined(_MSC_VER) |
| 17 |
#pragma GCC system_header |
| 18 |
#endif |
| 19 |
|
| 20 |
#include <bsoncxx/config/version.hpp> |
| 21 |
#include <bsoncxx/builder/basic/document.hpp> |
| 22 |
#include <bsoncxx/builder/basic/kvp.hpp> |
| 23 |
#include <bsoncxx/json.hpp> |
| 24 |
#include <bsoncxx/string/to_string.hpp> |
| 25 |
|
| 26 |
#if BSONCXX_VERSION_MAJOR < 4 |
| 27 |
#include <bsoncxx/stdx/make_unique.hpp> |
| 28 |
#include <bsoncxx/types/value.hpp> |
| 29 |
#endif |
| 30 |
|
| 31 |
#include <mongocxx/client.hpp> |
| 32 |
#include <mongocxx/instance.hpp> |
| 33 |
#include <mongocxx/uri.hpp> |
| 34 |
#include <mongocxx/logger.hpp> |
| 35 |
#include <mongocxx/options/client.hpp> |
| 36 |
#include <mongocxx/options/ssl.hpp> |
| 37 |
|
| 38 |
#endif |