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
14 * For internal use only.
16 * This class is used by LDAPSearchResults to store a std::list of
20 typedef std::list<LDAPEntry> ListType;
23 typedef ListType::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