]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPEntryList.h
added empty() method to the list classes. (Patch was provided by Dan
[openldap] / contrib / ldapc++ / src / LDAPEntryList.h
index 4b459642b7334d4c76de753ee84a22c8176b3354..275818bccf67d963dbb29b615b01b3a88bddf878 100644 (file)
@@ -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.
          */