ldapsdk
0.0.1
|
This class is used to represent the result entries of a SEARCH-operation. More...
#include <LDAPSearchResult.h>
Public Member Functions | |
LDAPSearchResult (const LDAPRequest *req, LDAPMessage *msg) | |
Constructor that create an object from the C-API structures. More... | |
LDAPSearchResult (const LDAPSearchResult &res) | |
Copy-Constructor. More... | |
virtual | ~LDAPSearchResult () |
The Destructor. More... | |
const LDAPEntry * | getEntry () const |
![]() | |
virtual | ~LDAPMsg () |
The destructor has no implemenation, because this is an abstract class. More... | |
int | getMessageType () |
int | getMsgID () |
bool | hasControls () const |
const LDAPControlSet & | getSrvControls () const |
Additional Inherited Members | |
![]() | |
static LDAPMsg * | create (const LDAPRequest *req, LDAPMessage *msg) |
This method is used by the library to parse the results returned by the C-API. More... | |
![]() | |
static const int | BIND_RESPONSE =LDAP_RES_BIND |
static const int | SEARCH_ENTRY =LDAP_RES_SEARCH_ENTRY |
static const int | SEARCH_DONE =LDAP_RES_SEARCH_RESULT |
static const int | SEARCH_REFERENCE =LDAP_RES_SEARCH_REFERENCE |
static const int | MODIFY_RESPONSE =LDAP_RES_MODIFY |
static const int | ADD_RESPONSE =LDAP_RES_ADD |
static const int | DEL_RESPONSE =LDAP_RES_DELETE |
static const int | MODDN_RESPONSE =LDAP_RES_MODDN |
static const int | COMPARE_RESPONSE =LDAP_RES_COMPARE |
static const int | EXTENDED_RESPONSE =LDAP_RES_EXTENDED |
static const int | BIND_REQUEST =LDAP_REQ_BIND |
static const int | UNBIND_REQUEST =LDAP_REQ_UNBIND |
static const int | SEARCH_REQUEST =LDAP_REQ_SEARCH |
static const int | MODIFY_REQUEST =LDAP_REQ_MODIFY |
static const int | ADD_REQUEST =LDAP_REQ_ADD |
static const int | DELETE_REQUEST =LDAP_REQ_DELETE |
static const int | MODRDN_REQUEST =LDAP_REQ_MODRDN |
static const int | COMPARE_REQUEST =LDAP_REQ_COMPARE |
static const int | ABANDON_REQUEST =LDAP_REQ_ABANDON |
static const int | EXTENDED_REQUEST =LDAP_REQ_EXTENDED |
![]() | |
LDAPMsg (LDAPMessage *msg) | |
This constructor make a copy of a LDAPMsg-pointer. More... | |
LDAPMsg (int msgType, int msgID) | |
![]() | |
LDAPControlSet | m_srvControls |
This attribute stores Server-Control that were returned with the message. More... | |
bool | m_hasControls |
This class is used to represent the result entries of a SEARCH-operation.
LDAPSearchResult::LDAPSearchResult | ( | const LDAPRequest * | req, |
LDAPMessage * | msg | ||
) |
Constructor that create an object from the C-API structures.
References DEBUG, LDAPRequest::getConnection(), LDAPAsynConnection::getSessionHandle(), LDAP_DEBUG_CONSTRUCT, LDAPMsg::m_hasControls, and LDAPMsg::m_srvControls.
LDAPSearchResult::LDAPSearchResult | ( | const LDAPSearchResult & | res | ) |
Copy-Constructor.
|
virtual |
The Destructor.
References DEBUG, and LDAP_DEBUG_DESTROY.
const LDAPEntry * LDAPSearchResult::getEntry | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.