21 #include "mongo/bson/util/builder.h"
22 #include "mongo/platform/hash_namespace.h"
68 Status initialize(
const StringData& s);
82 bool isLocalHost()
const;
87 std::string toString()
const;
99 const std::string& host()
const {
104 bool hasPort()
const {
113 MONGO_CLIENT_API std::ostream& MONGO_CLIENT_FUNC
114 operator<<(std::ostream& os,
const HostAndPort& hp);
118 MONGO_HASH_NAMESPACE_START
125 MONGO_HASH_NAMESPACE_END
std::stringstream deals with locale so this is a lot faster than std::stringstream for UTF8 ...
Definition: builder.h:53
the main MongoDB namespace
Definition: bulk_operation_builder.h:24
Definition: sasl_client_conversation.h:28
Name of a process on the network.
Definition: hostandport.h:37
MONGO_CLIENT_API Status(MONGO_CLIENT_FUNC *saslClientAuthenticate)(DBClientWithCommands *client
Attempts to authenticate "client" using the SASL protocol.