mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
add getKind method
This commit is contained in:
parent
89812424f4
commit
14a6bced66
2 changed files with 11 additions and 0 deletions
|
|
@ -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 a new issue