]> git.sur5r.net Git - openldap/commitdiff
add getKind method
authorRalf Haferkamp <ralf@openldap.org>
Thu, 22 Jan 2004 16:26:38 +0000 (16:26 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Thu, 22 Jan 2004 16:26:38 +0000 (16:26 +0000)
contrib/ldapc++/src/LDAPObjClass.cpp
contrib/ldapc++/src/LDAPObjClass.h

index c78a675db88b3692c4c8dcfa00b18b2c10d90612..6ebc51372977ddc6e51b0409fa51851e2be4137a 100644 (file)
@@ -121,3 +121,9 @@ string LDAPObjClass::getName () {
     else
        return *(names.begin());
 }
+
+int LDAPObjClass::getKind () {
+     return kind;
+}
+
+
index 4a383d6dfd865537a297847e668e8899acd1ec17..94e0ea9b5f71820e97b323ba1bb854b7f7cda5b8 100644 (file)
@@ -67,6 +67,11 @@ class LDAPObjClass{
         */
        string getName ();
 
+       /**
+        * Returns object class kind: 0=ABSTRACT, 1=STRUCTURAL, 2=AUXILIARY
+        */
+       int getKind ();
+
        /**
         * Returns all object class names
         */