From 14a6bced6698d8916b6e727547a2a541bb006e8f Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Thu, 22 Jan 2004 16:26:38 +0000 Subject: [PATCH] add getKind method --- contrib/ldapc++/src/LDAPObjClass.cpp | 6 ++++++ contrib/ldapc++/src/LDAPObjClass.h | 5 +++++ 2 files changed, 11 insertions(+) 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 */ -- 2.39.5