140 bsoncxx::v_noabi::stdx::optional<
bool> _strict;
141 bsoncxx::v_noabi::stdx::optional<
bool> _deprecation_errors;
148#include <mongocxx/config/postlude.hpp>
Used by clients.
Definition client.hpp:37
Used by mongocxx::v_noabi::pool.
Definition pool.hpp:30
Used by mongocxx::v_noabi::options::client::server_api_opts.
Definition server_api.hpp:38
static version version_from_string(bsoncxx::v_noabi::stdx::string_view version)
Converts a version string to its enum value.
static std::string version_to_string(version version)
Converts a version enum value to its string value.
version
Enum representing the possible values for server API version.
Definition server_api.hpp:43
@ k_version_1
Stable API Version 1.
bsoncxx::v_noabi::stdx::optional< bool > const & deprecation_errors() const
Gets the current value of the deprecation errors option.
bsoncxx::v_noabi::stdx::optional< bool > const & strict() const
Gets the current value of the strict option.
version get_version() const
Gets the declared server api version.
Declares mongocxx::v_noabi::client.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v_noabi::pool.
Declares mongocxx::v_noabi::options::server_api.
Provides std::optional-related polyfills for library API usage.
Provides std::string_view-related polyfills for library API usage.