ldapsdk
0.0.1
Main Page
Classes
Files
File List
File Members
src
LDAPEntryList.h
Go to the documentation of this file.
1
// $OpenLDAP$
2
/*
3
* Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
4
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5
*/
6
7
#ifndef LDAP_ENTRY_LIST_H
8
#define LDAP_ENTRY_LIST_H
9
10
#include <cstdio>
11
#include <list>
12
13
class
LDAPEntry
;
14
21
class
LDAPEntryList
{
22
typedef
std::list<LDAPEntry> ListType;
23
24
public
:
25
typedef
ListType::const_iterator
const_iterator
;
26
30
LDAPEntryList
(
const
LDAPEntryList
& el);
31
35
LDAPEntryList
();
36
40
~LDAPEntryList
();
41
45
size_t
size
()
const
;
46
50
bool
empty
()
const
;
51
55
const_iterator
begin
()
const
;
56
60
const_iterator
end
()
const
;
61
65
void
addEntry
(
const
LDAPEntry
& e);
66
67
private
:
68
ListType m_entries;
69
};
70
#endif // LDAP_ENTRY_LIST_H
Generated by
1.8.1