9 #ifndef anna_ldap_ResultCode_hpp 10 #define anna_ldap_ResultCode_hpp 37 bool isOk()
const {
return a_value == 0; }
249 const std::string&
getText()
const {
return a_text; }
266 void clear() { a_value = 0; a_text.clear(); }
274 a_value = other.a_value;
275 a_text = other.a_text;
296 const std::string
asString()
const ;
304 void setValue(
const int ldap_method_result,
const int ldap_method_error) ;
306 bool extractResultCode(
const Session*) ;
bool isSecurityError() const
Definition: Session.hpp:38
void clear()
Definition: ResultCode.hpp:266
const std::string & getText() const
Definition: ResultCode.hpp:249
Definition: ResultCode.hpp:26
bool isSASLBindInProgress() const
bool isStrongAuthRequired() const
bool isProtocolError() const
bool isLocalError() const
bool isServerDown() const
bool isTimeLimitExceeded() const
bool isAuthMethodNotSupported() const
bool isUnavailable() const
bool operator<(const int n) const
Definition: ResultCode.hpp:289
bool isConnectError() const
bool isInvalidCredential() const
bool isServiceError() const
bool operator<=(const int n) const
Definition: ResultCode.hpp:290
bool operator==(const int n) const
Definition: ResultCode.hpp:287
bool isOperationsError() const
bool isSizeLimitExceeded() const
const std::string asString() const
bool operator!=(const int n) const
Definition: ResultCode.hpp:288
ResultCode & operator=(const ResultCode &other)
Definition: ResultCode.hpp:273
bool isDecodingError() const
ResultCode()
Definition: ResultCode.hpp:31
int getValue() const
Definition: ResultCode.hpp:243
bool isOk() const
Definition: ResultCode.hpp:37
bool isFilterError() const