3 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
8 #ifndef LDAP_SEARCH_RESULT_H
9 #define LDAP_SEARCH_RESULT_H
11 #include <LDAPMessage.h>
12 #include <LDAPEntry.h>
17 * This class is used to represent the result entries of a
20 class LDAPSearchResult : public LDAPMsg{
23 * Constructor that create an object from the C-API structures
25 LDAPSearchResult(const LDAPRequest *req, LDAPMessage *msg);
30 LDAPSearchResult(const LDAPSearchResult& res);
35 virtual ~LDAPSearchResult();
38 * @returns The entry that has been sent with this result message.
40 const LDAPEntry* getEntry() const;
45 #endif //LDAP_SEARCH_RESULT_H