X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=contrib%2Fldapc%2B%2B%2Fsrc%2FLDAPResult.h;h=f5a53ce76c9301364d789856fb5afd8c546d0845;hb=3b695bc6c855ca79136f5f9a184804e73ad06f20;hp=d53fd8496e695a54fe6cbba68db86aab7c133c20;hpb=b1957678d4fb82f5bb2af228606785bb49522fcc;p=openldap diff --git a/contrib/ldapc++/src/LDAPResult.h b/contrib/ldapc++/src/LDAPResult.h index d53fd8496e..f5a53ce76c 100644 --- a/contrib/ldapc++/src/LDAPResult.h +++ b/contrib/ldapc++/src/LDAPResult.h @@ -118,16 +118,16 @@ class LDAPResult : public LDAPMsg{ /** * This method transforms the result code to a human-readable * result message. - * @returns A string containing the result message. + * @returns A std::string containing the result message. */ - string resToString() const; + std::string resToString() const; /** * In some case of error the server may return addional error * messages. * @returns The additional error message returned by the server. */ - const string& getErrMsg() const; + const std::string& getErrMsg() const; /** * For messages with a result code of: NO_SUCH_OBJECT, @@ -136,7 +136,7 @@ class LDAPResult : public LDAPMsg{ * be found for this operation. * @returns The Matched-DN value that was returned by the server. */ - const string& getMatchedDN() const; + const std::string& getMatchedDN() const; /** * @returns If the result code is REFERRAL this methode returns the @@ -146,15 +146,15 @@ class LDAPResult : public LDAPMsg{ private : int m_resCode; - string m_matchedDN; - string m_errMsg; + std::string m_matchedDN; + std::string m_errMsg; LDAPUrlList m_referrals; /** * This method can be used to dump the data of a LDAPResult-Object. * It is only useful for debugging purposes at the moment */ - friend ostream& operator<<(ostream &s,LDAPResult &l); + friend std::ostream& operator<<(std::ostream &s,LDAPResult &l); }; #endif //LDAP_RESULT_H