ldapsdk  0.0.1
Public Member Functions | List of all members
LDAPSearchResult Class Reference

This class is used to represent the result entries of a SEARCH-operation. More...

#include <LDAPSearchResult.h>

Inheritance diagram for LDAPSearchResult:
LDAPMsg

Public Member Functions

 LDAPSearchResult (const LDAPRequest *req, LDAPMessage *msg)
 Constructor that create an object from the C-API structures.
 
 LDAPSearchResult (const LDAPSearchResult &res)
 Copy-Constructor.
 
virtual ~LDAPSearchResult ()
 The Destructor.
 
const LDAPEntrygetEntry () const
 
- Public Member Functions inherited from LDAPMsg
virtual ~LDAPMsg ()
 The destructor has no implemenation, because this is an abstract class.
 
int getMessageType ()
 
int getMsgID ()
 
bool hasControls () const
 
const LDAPControlSetgetSrvControls () const
 

Additional Inherited Members

- Static Public Member Functions inherited from LDAPMsg
static LDAPMsgcreate (const LDAPRequest *req, LDAPMessage *msg)
 This method is used by the library to parse the results returned by the C-API.
 
- Static Public Attributes inherited from LDAPMsg
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
 
- Protected Member Functions inherited from LDAPMsg
 LDAPMsg (LDAPMessage *msg)
 This constructor make a copy of a LDAPMsg-pointer.
 
 LDAPMsg (int msgType, int msgID)
 
- Protected Attributes inherited from LDAPMsg
LDAPControlSet m_srvControls
 This attribute stores Server-Control that were returned with the message.
 
bool m_hasControls
 

Detailed Description

This class is used to represent the result entries of a SEARCH-operation.

Constructor & Destructor Documentation

LDAPSearchResult::LDAPSearchResult ( const LDAPRequest req,
LDAPMessage *  msg 
)
LDAPSearchResult::LDAPSearchResult ( const LDAPSearchResult res)

Copy-Constructor.

LDAPSearchResult::~LDAPSearchResult ( )
virtual

The Destructor.

References DEBUG, and LDAP_DEBUG_DESTROY.

Member Function Documentation

const LDAPEntry * LDAPSearchResult::getEntry ( ) const
Returns
The entry that has been sent with this result message.

References DEBUG, and LDAP_DEBUG_TRACE.


The documentation for this class was generated from the following files: