MongoDB C++ Driver
mongocxx-3.6.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
44 using container = std::vector<server_description>;
102 std::
size_t size() const noexcept;
108 container _container;
126 bsoncxx::stdx::string_view type() const;
147 bool has_writable_server() const;
163 MONGOCXX_INLINE_NAMESPACE_END
166 #include <mongocxx/config/postlude.hpp>
Class representing what the driver knows about a MongoDB server.
Definition: server_description.hpp:30
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:62
container::const_iterator const_iterator
The array's const iterator type.
Definition: topology_description.hpp:73
container::iterator iterator
The array's iterator type.
Definition: topology_description.hpp:68
An array of server_description instances.
Definition: topology_description.hpp:42
Class representing what the driver knows about a topology of MongoDB servers: either a standalone,...
Definition: topology_description.hpp:37