openldap/contrib/ldapc++/src/LDAPEntryList.h
Ralf Haferkamp 1ab5360fee - some new Classes for sync. LDAP operations
- Classes for handling Controls
2000-10-03 18:50:44 +00:00

30 lines
653 B
C++

/*
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#ifndef LDAP_ENTRY_LIST_H
#define LDAP_ENTRY_LIST_H
#include <list>
class LDAPEntry;
typedef list<LDAPEntry> EntryList;
class LDAPEntryList{
typedef EntryList::const_iterator const_iterator;
private:
EntryList m_entries;
public:
LDAPEntryList(const LDAPEntryList& el);
LDAPEntryList();
~LDAPEntryList();
size_t size() const;
const_iterator begin() const;
const_iterator end() const;
void addEntry(const LDAPEntry& e);
};
#endif // LDAP_ENTRY_LIST_H