22 #include "mongo/base/status.h"
23 #include "mongo/base/string_data.h"
24 #include "mongo/client/export_macros.h"
45 template <
typename NumberType>
46 MONGO_CLIENT_API
Status MONGO_CLIENT_FUNC
49 template <
typename NumberType>
50 static Status parseNumberFromString(
const StringData& stringValue, NumberType* result) {
Utility functions for parsing numbers from strings.
Definition: compare_numbers.h:20
MONGO_CLIENT_API Status(MONGO_CLIENT_FUNC *saslClientAuthenticate)(DBClientWithCommands *client
Attempts to authenticate "client" using the SASL protocol.
MONGO_CLIENT_API Status MONGO_CLIENT_FUNC parseNumberFromStringWithBase(const StringData &stringValue, int base, NumberType *result)
Parses a number out of a StringData.