]> git.sur5r.net Git - openldap/blob - contrib/ldapc++/src/LDAPSearchResult.h
4ee1cfad2efa982c4a54821c60a0bb2733d3982c
[openldap] / contrib / ldapc++ / src / LDAPSearchResult.h
1 /*
2  * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5
6
7 #ifndef LDAP_SEARCH_RESULT_H
8 #define LDAP_SEARCH_RESULT_H
9
10 #include "LDAPMessage.h"
11 #include "LDAPEntry.h"
12
13 class LDAPRequest;
14
15 class LDAPSearchResult : public LDAPMsg{
16         public:
17                 LDAPSearchResult(const LDAPRequest *req, LDAPMessage *msg);
18         LDAPSearchResult(const LDAPSearchResult& res);
19                 virtual ~LDAPSearchResult();
20                 const LDAPEntry* getEntry() const;
21         
22     private:
23                 LDAPEntry *entry;
24 };
25 #endif //LDAP_SEARCH_RESULT_H