ldapsdk  0.0.1
LDAPExtResult.h
Go to the documentation of this file.
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2013 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6 
7 #ifndef LDAP_EXT_RESULT_H
8 #define LDAP_EXT_RESULT_H
9 
10 #include <ldap.h>
11 
12 #include <LDAPResult.h>
13 
14 class LDAPRequest;
15 
20 class LDAPExtResult : public LDAPResult {
21  public :
26  LDAPExtResult(const LDAPRequest* req, LDAPMessage* msg);
27 
31  virtual ~LDAPExtResult();
32 
37  const std::string& getResponseOid() const;
38 
43  const std::string& getResponse() const;
44 
45  private:
46  std::string m_oid;
47  std::string m_data;
48 };
49 
50 #endif // LDAP_EXT_RESULT_H
LDAPException
This class is only thrown as an Exception and used to signalize error conditions during LDAP-operatio...
Definition: LDAPException.h:23
LDAPExtResult::getResponseOid
const std::string & getResponseOid() const
Definition: LDAPExtResult.cpp:42
LDAPExtResult
Object of this class are created by the LDAPMsg::create method if results for an Extended Operation w...
Definition: LDAPExtResult.h:20
LDAPExtResult::~LDAPExtResult
virtual ~LDAPExtResult()
The Destructor.
Definition: LDAPExtResult.cpp:38
DEBUG
#define DEBUG(level, arg)
Definition: debug.h:30
LDAP_DEBUG_DESTROY
#define LDAP_DEBUG_DESTROY
Definition: debug.h:14
LDAPAsynConnection::getSessionHandle
LDAP * getSessionHandle() const
Definition: LDAPAsynConnection.cpp:292
LDAPResult
This class is for representing LDAP-Result-Messages.
Definition: LDAPResult.h:30
LDAP_DEBUG_CONSTRUCT
#define LDAP_DEBUG_CONSTRUCT
Definition: debug.h:13
LDAPExtResult::getResponse
const std::string & getResponse() const
Definition: LDAPExtResult.cpp:46
LDAPException.h
LDAPExtResult.h
LDAPRequest::getConnection
const LDAPAsynConnection * getConnection() const
Definition: LDAPRequest.cpp:86
LDAPExtResult::LDAPExtResult
LDAPExtResult(const LDAPRequest *req, LDAPMessage *msg)
Constructor that creates an LDAPExtResult-object from the C-API structures.
Definition: LDAPExtResult.cpp:17
LDAPResult.h
LDAPRequest.h
LDAPRequest
For internal use only.
Definition: LDAPRequest.h:25
debug.h