LDAPObjClass Class Reference
Represents the Object Class (from LDAP schema).
More...
#include <LDAPObjClass.h>
List of all members.
Detailed Description
Represents the Object Class (from LDAP schema).
Constructor & Destructor Documentation
| LDAPObjClass::LDAPObjClass |
( |
|
) |
|
| LDAPObjClass::LDAPObjClass |
( |
string |
oc_item, |
|
|
int |
flags = LDAP_SCHEMA_ALLOW_NO_OID | LDAP_SCHEMA_ALLOW_QUOTED | |
|
) |
| | |
Constructs new object and fills the data structure by parsing the argument.
- Parameters:
-
| oc_item | description of object class is string returned by the search command. It is in the form: "( SuSE.YaST.OC:5 NAME 'userTemplate' SUP objectTemplate STRUCTURAL DESC 'User object template' MUST ( cn ) MAY ( secondaryGroup ))" |
References DEBUG, LDAP_DEBUG_CONSTRUCT, setDesc(), setKind(), setMay(), setMust(), setNames(), setOid(), and setSup().
| LDAPObjClass::~LDAPObjClass |
( |
|
) |
[virtual] |
Member Function Documentation
| string LDAPObjClass::getDesc |
( |
|
) |
const |
Returns object class description.
References desc.
| int LDAPObjClass::getKind |
( |
|
) |
const |
Returns object class kind: 0=ABSTRACT, 1=STRUCTURAL, 2=AUXILIARY.
References kind.
Returns list of allowed (and not required) attributes.
References may.
Returns list of required attributes.
References must.
| string LDAPObjClass::getName |
( |
|
) |
const |
| string LDAPObjClass::getOid |
( |
|
) |
const |
Returns object class oid.
References oid.
Returns list of the OIDs of the superior ObjectClasses.
References sup.
| void LDAPObjClass::setDesc |
( |
char * |
oc_desc |
) |
|
| void LDAPObjClass::setKind |
( |
int |
oc_kind |
) |
|
| void LDAPObjClass::setMay |
( |
char ** |
oc_may |
) |
|
| void LDAPObjClass::setMust |
( |
char ** |
oc_must |
) |
|
| void LDAPObjClass::setNames |
( |
char ** |
oc_names |
) |
|
| void LDAPObjClass::setOid |
( |
char * |
oc_oid |
) |
|
| void LDAPObjClass::setSup |
( |
char ** |
oc_sup |
) |
|
Member Data Documentation
The documentation for this class was generated from the following files: