3 * Copyright 2000-2015 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
7 #ifndef LDAP_ENTRY_LIST_H
8 #define LDAP_ENTRY_LIST_H
16 * For internal use only.
18 * This class is used by LDAPSearchResults to store a std::list of
22 typedef std::list<LDAPEntry> ListType;
25 typedef ListType::const_iterator const_iterator;
30 LDAPEntryList(const LDAPEntryList& el);
43 * @return The number of entries currently stored in the list.
48 * @return true if there are zero entries currently stored in the list.
53 * @return An iterator pointing to the first element of the list.
55 const_iterator begin() const;
58 * @return An iterator pointing to the end of the list
60 const_iterator end() const;
63 * Adds an Entry to the end of the list.
65 void addEntry(const LDAPEntry& e);
70 #endif // LDAP_ENTRY_LIST_H