blob: e8722e998dcbf8fe6de55897c42a0314e4e6ce0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// $OpenLDAP$
/*
* Copyright 2000-2021 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#ifndef LDAP_SEARCH_RESULT_H
#define LDAP_SEARCH_RESULT_H
#include <LDAPMessage.h>
#include <LDAPEntry.h>
class LDAPRequest;
/**
* This class is used to represent the result entries of a
* SEARCH-operation.
*/
class LDAPSearchResult : public LDAPMsg{
public:
/**
* Constructor that create an object from the C-API structures
*/
LDAPSearchResult(const LDAPRequest *req, LDAPMessage *msg);
/**
* Copy-Constructor
*/
LDAPSearchResult(const LDAPSearchResult& res);
/**
* The Destructor
*/
virtual ~LDAPSearchResult();
/**
* @returns The entry that has been sent with this result message.
*/
const LDAPEntry* getEntry() const;
private:
LDAPEntry *entry;
};
#endif //LDAP_SEARCH_RESULT_H
|