3 * Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
7 #ifndef LDAP_EXT_RESULT_H
8 #define LDAP_EXT_RESULT_H
12 #include <LDAPResult.h>
17 * Object of this class are created by the LDAPMsg::create method if
18 * results for an Extended Operation were returned by a LDAP server.
20 class LDAPExtResult : public LDAPResult {
23 * Constructor that creates an LDAPExtResult-object from the C-API
26 LDAPExtResult(const LDAPRequest* req, LDAPMessage* msg);
31 virtual ~LDAPExtResult();
34 * @returns The OID of the Extended Operation that has returned
37 const std::string& getResponseOid() const;
40 * @returns If the result contained data this method will return
41 * the data to the caller as a std::string.
43 const std::string& getResponse() const;
50 #endif // LDAP_EXT_RESULT_H