ldapsdk  0.0.1
LDAPSearchResult.h
Go to the documentation of this file.
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2013 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6 
7 
8 #ifndef LDAP_SEARCH_RESULT_H
9 #define LDAP_SEARCH_RESULT_H
10 
11 #include <LDAPMessage.h>
12 #include <LDAPEntry.h>
13 
14 class LDAPRequest;
15 
20 class LDAPSearchResult : public LDAPMsg{
21  public:
25  LDAPSearchResult(const LDAPRequest *req, LDAPMessage *msg);
26 
31 
35  virtual ~LDAPSearchResult();
36 
40  const LDAPEntry* getEntry() const;
41 
42  private:
43  LDAPEntry *entry;
44 };
45 #endif //LDAP_SEARCH_RESULT_H
const LDAPEntry * getEntry() const
Definition: LDAPSearchResult.cpp:48
This class represents any type of LDAP- Message returned from the server.
Definition: LDAPMessage.h:23
For internal use only.
Definition: LDAPRequest.h:25
This class is used to represent the result entries of a SEARCH-operation.
Definition: LDAPSearchResult.h:20
This class is used to store every kind of LDAP Entry.
Definition: LDAPEntry.h:19
virtual ~LDAPSearchResult()
The Destructor.
Definition: LDAPSearchResult.cpp:43
LDAPSearchResult(const LDAPRequest *req, LDAPMessage *msg)
Constructor that create an object from the C-API structures.
Definition: LDAPSearchResult.cpp:16