ldapsdk
0.0.1
Main Page
Classes
Files
File List
File Members
src
LDAPObjClass.h
Go to the documentation of this file.
1
// $OpenLDAP$
2
/*
3
* Copyright 2003-2011 The OpenLDAP Foundation, All Rights Reserved.
4
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5
*/
6
7
#ifndef LDAP_OBJCLASS_H
8
#define LDAP_OBJCLASS_H
9
10
#include <ldap_schema.h>
11
#include <string>
12
13
#include "
StringList.h
"
14
15
using namespace
std;
16
20
class
LDAPObjClass
{
21
private
:
22
StringList
names, must, may, sup;
23
string
desc, oid;
24
int
kind;
25
26
public
:
27
31
LDAPObjClass
();
32
36
LDAPObjClass
(
const
LDAPObjClass
& oc );
37
46
LDAPObjClass
(
string
oc_item,
int
flags = LDAP_SCHEMA_ALLOW_NO_OID |
47
LDAP_SCHEMA_ALLOW_QUOTED);
48
52
virtual
~
LDAPObjClass
();
53
57
string
getDesc()
const
;
58
62
string
getOid()
const
;
63
67
string
getName()
const
;
68
72
int
getKind()
const
;
73
77
StringList
getNames()
const
;
78
82
StringList
getMust()
const
;
83
87
StringList
getMay()
const
;
88
92
StringList
getSup()
const
;
93
94
void
setNames (
char
**oc_names);
95
void
setMay (
char
**oc_may);
96
void
setMust (
char
**oc_must);
97
void
setDesc (
char
*oc_desc);
98
void
setOid (
char
*oc_oid);
99
void
setKind (
int
oc_kind);
100
void
setSup (
char
**oc_sup);
101
102
};
103
104
#endif // LDAP_OBJCLASS_H
Generated by
1.8.1