2 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 #ifndef LDAP_ENTRY_LIST_H
7 #define LDAP_ENTRY_LIST_H
13 typedef list<LDAPEntry> EntryList;
16 * For internal use only.
18 * This class is used by LDAPSearchResults to store a list of
23 typedef EntryList::const_iterator const_iterator;
28 LDAPEntryList(const LDAPEntryList& el);
41 * @return The number of entries currently stored in the list.
46 * @return true if there are zero entries currently stored in the list.
51 * @return An iterator pointing to the first element of the list.
53 const_iterator begin() const;
56 * @return An iterator pointing to the end of the list
58 const_iterator end() const;
61 * Adds an Entry to the end of the list.
63 void addEntry(const LDAPEntry& e);
68 #endif // LDAP_ENTRY_LIST_H