2 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
7 #ifndef LDAP_SEARCH_RESULT_H
8 #define LDAP_SEARCH_RESULT_H
10 #include <LDAPMessage.h>
11 #include <LDAPEntry.h>
16 * This class is used to represent the result entries of a
19 class LDAPSearchResult : public LDAPMsg{
22 * Constructor that create an object from the C-API structures
24 LDAPSearchResult(const LDAPRequest *req, LDAPMessage *msg);
29 LDAPSearchResult(const LDAPSearchResult& res);
34 virtual ~LDAPSearchResult();
37 * @returns The entry that has been sent with this result message.
39 const LDAPEntry* getEntry() const;
44 #endif //LDAP_SEARCH_RESULT_H