17 #include <bsoncxx/document/view.hpp> 18 #include <bsoncxx/stdx/string_view.hpp> 20 #include <mongocxx/config/prelude.hpp> 23 MONGOCXX_INLINE_NAMESPACE_BEGIN
37 ~server_description();
44 std::uint32_t id()
const;
51 std::int64_t round_trip_time()
const;
59 bsoncxx::stdx::string_view type()
const;
74 bsoncxx::stdx::string_view host()
const;
81 std::uint16_t port()
const;
88 MONGOCXX_INLINE_NAMESPACE_END
91 #include <mongocxx/config/postlude.hpp> Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
Class representing what the driver knows about a MongoDB server.
Definition: server_description.hpp:30