#include <LDAPObjClass.h>
Public Member Functions | |
| LDAPObjClass () | |
| Constructs an empty object. | |
| LDAPObjClass (const LDAPObjClass &oc) | |
| Copy constructor. | |
| LDAPObjClass (string oc_item) | |
| Constructs new object and fills the data structure by parsing the argument. | |
| virtual | ~LDAPObjClass () |
| Destructor. | |
| string | getDesc () |
| Returns object class description. | |
| string | getOid () |
| Returns object class oid. | |
| string | getName () |
| Returns object class name (first one if there are more of them). | |
| int | getKind () |
| Returns object class kind: 0=ABSTRACT, 1=STRUCTURAL, 2=AUXILIARY. | |
| StringList | getNames () |
| Returns all object class names. | |
| StringList | getMust () |
| Returns list of required attributes. | |
| StringList | getMay () |
| Returns list of allowed (and not required) attributes. | |
| StringList | getSup () |
| Returns list of the OIDs of the superior ObjectClasses. | |
| void | setNames (char **oc_names) |
| void | setMay (char **oc_may) |
| void | setMust (char **oc_must) |
| void | setDesc (char *oc_desc) |
| void | setOid (char *oc_oid) |
| void | setKind (int oc_kind) |
| void | setSup (char **oc_sup) |
Private Attributes | |
| StringList | names |
| StringList | must |
| StringList | may |
| StringList | sup |
| string | desc |
| string | oid |
| int | kind |
|
|
Constructs an empty object.
|
|
|
Copy constructor.
|
|
|
Constructs new object and fills the data structure by parsing the argument.
|
|
|
Destructor.
|
|
|
Returns object class description.
|
|
|
Returns object class kind: 0=ABSTRACT, 1=STRUCTURAL, 2=AUXILIARY.
|
|
|
Returns list of allowed (and not required) attributes.
|
|
|
Returns list of required attributes.
|
|
|
Returns object class name (first one if there are more of them).
|
|
|
Returns all object class names.
|
|
|
Returns object class oid.
|
|
|
Returns list of the OIDs of the superior ObjectClasses.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6