mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
add getKind method
This commit is contained in:
parent
89812424f4
commit
14a6bced66
@ -121,3 +121,9 @@ string LDAPObjClass::getName () {
|
||||
else
|
||||
return *(names.begin());
|
||||
}
|
||||
|
||||
int LDAPObjClass::getKind () {
|
||||
return kind;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user