diff --git a/contrib/ldapc++/src/LDAPObjClass.cpp b/contrib/ldapc++/src/LDAPObjClass.cpp index c78a675db8..6ebc513729 100644 --- a/contrib/ldapc++/src/LDAPObjClass.cpp +++ b/contrib/ldapc++/src/LDAPObjClass.cpp @@ -121,3 +121,9 @@ string LDAPObjClass::getName () { else return *(names.begin()); } + +int LDAPObjClass::getKind () { + return kind; +} + + diff --git a/contrib/ldapc++/src/LDAPObjClass.h b/contrib/ldapc++/src/LDAPObjClass.h index 4a383d6dfd..94e0ea9b5f 100644 --- a/contrib/ldapc++/src/LDAPObjClass.h +++ b/contrib/ldapc++/src/LDAPObjClass.h @@ -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 */