MongoDB C++ Driver
mongocxx-3.7.0
|
19 #include <bsoncxx/stdx/string_view.hpp>
20 #include <mongocxx/events/server_description.hpp>
21 #include <mongocxx/read_preference.hpp>
23 #include <mongocxx/config/prelude.hpp>
26 MONGOCXX_INLINE_NAMESPACE_BEGIN
43 using container = std::vector<server_description>;
101 std::
size_t size() const noexcept;
107 container _container;
125 bsoncxx::stdx::string_view type() const;
146 bool has_writable_server() const;
162 MONGOCXX_INLINE_NAMESPACE_END
165 #include <mongocxx/config/postlude.hpp>
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
Top level namespace for MongoDB C++ BSON functionality.
Definition: element.hpp:24
Class representing a preference for how the driver routes read operations to members of a replica set...
Definition: read_preference.hpp:63
container::const_iterator const_iterator
The array's const iterator type.
Definition: topology_description.hpp:72
container::iterator iterator
The array's iterator type.
Definition: topology_description.hpp:67
An array of server_description instances.
Definition: topology_description.hpp:41
Class representing what the driver knows about a topology of MongoDB servers: either a standalone,...
Definition: topology_description.hpp:36