Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

LDAPEntryList.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
00003  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
00004  */
00005 
00006 #ifndef LDAP_ENTRY_LIST_H
00007 #define LDAP_ENTRY_LIST_H
00008 
00009 #include <list>
00010 
00011 class LDAPEntry;
00012    
00019 class LDAPEntryList{
00020     typedef std::list<LDAPEntry> ListType;
00021 
00022     public:
00023     typedef ListType::const_iterator const_iterator;
00024 
00028         LDAPEntryList(const LDAPEntryList& el);
00029 
00033         LDAPEntryList();
00034 
00038         ~LDAPEntryList();
00039 
00043         size_t size() const;
00044 
00048         bool empty() const;
00049 
00053         const_iterator begin() const;
00054 
00058         const_iterator end() const;
00059 
00063         void addEntry(const LDAPEntry& e);
00064 
00065     private:
00066         ListType m_entries;
00067 };
00068 #endif // LDAP_ENTRY_LIST_H

Generated on Wed Nov 12 02:19:03 2008 for ldapsdk by  doxygen 1.3.9.1