]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPAttributeList.h
added support for deleting attribute type from the list of attributes
[openldap] / contrib / ldapc++ / src / LDAPAttributeList.h
index 7f9161ae80e52aecd93391a02e489429e3b3c4cb..1e6ba6d51e51640acc9e342a5decd0c8fb96f8a2 100644 (file)
@@ -90,6 +90,12 @@ class LDAPAttributeList{
          * @param attr The attribute to add to the list.
          */
         void addAttribute(const LDAPAttribute& attr);
+        
+        /**
+         * Deletes all values of an Attribute for the list
+         * @param type The attribute type to be deleted.
+         */
+        void delAttribute(const std::string& type);
 
         /**
          * Replace an Attribute in the List