]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPEntryList.h
some changes to make the library working with gcc 3.0 (mostly namespace
[openldap] / contrib / ldapc++ / src / LDAPEntryList.h
index 4b459642b7334d4c76de753ee84a22c8176b3354..c82fb02c2fc47e42342052b9cdec41113446ab72 100644 (file)
 
 class LDAPEntry;
    
-typedef list<LDAPEntry> EntryList;
+typedef std::list<LDAPEntry> EntryList;
 
 /**
  * For internal use only.
  * 
- * This class is used by LDAPSearchResults to store a list of
+ * This class is used by LDAPSearchResults to store a std::list of
  * LDAPEntry-Objects
  */
 class LDAPEntryList{
@@ -42,6 +42,11 @@ class LDAPEntryList{
          */
         size_t size() const;
 
+        /**
+         * @return true if there are zero entries currently stored in the list.
+         */
+        bool empty() const;
+
         /**
          * @return An iterator pointing to the first element of the list.
          */