2 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 #ifndef LDAP_EXT_RESULT_H
7 #define LDAP_EXT_RESULT_H
11 #include <LDAPResult.h>
16 * Object of this class are created by the LDAPMsg::create method if
17 * results for an Extended Operation were returned by a LDAP server.
19 class LDAPExtResult : public LDAPResult {
22 * Constructor that creates an LDAPExtResult-object from the C-API
25 LDAPExtResult(const LDAPRequest* req, LDAPMessage* msg);
30 virtual ~LDAPExtResult();
33 * @returns The OID of the Extended Operation that has returned
36 const std::string& getResponseOid() const;
39 * @returns If the result contained data this method will return
40 * the data to the caller as a std::string.
42 const std::string& getResponse() const;
49 #endif // LDAP_EXT_RESULT_H