Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

LDAPObjClass.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2003, OpenLDAP Foundation, All Rights Reserved.
00003  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
00004  */
00005 
00006 #ifndef LDAP_OBJCLASS_H
00007 #define LDAP_OBJCLASS_H
00008 
00009 #include <ldap_schema.h>
00010 #include <string>
00011 
00012 #include "StringList.h"
00013 
00014 #define SCHEMA_PARSE_FLAG    0x03
00015 
00016 
00017 using namespace std;
00018 
00022 class LDAPObjClass{
00023     private :
00024     StringList names, must, may, sup;
00025     string desc, oid;
00026     int kind;
00027     
00028     public :
00029 
00033         LDAPObjClass();
00034 
00038     LDAPObjClass (const LDAPObjClass& oc);
00039 
00048         LDAPObjClass (string oc_item);
00049 
00053         virtual ~LDAPObjClass();
00054     
00058     string getDesc ();
00059     
00063     string getOid ();
00064 
00068     string getName ();
00069 
00073     int getKind ();
00074 
00078     StringList getNames();
00079     
00083     StringList getMust();
00084     
00088     StringList getMay();
00089     
00093     StringList getSup();
00094 
00095     void setNames (char **oc_names);
00096     void setMay (char **oc_may);
00097     void setMust (char **oc_must);
00098     void setDesc (char *oc_desc);
00099     void setOid (char *oc_oid);
00100     void setKind (int oc_kind);
00101     void setSup (char **oc_sup);
00102     
00103 };
00104 
00105 #endif // LDAP_OBJCLASS_H

Generated on Wed Nov 12 02:19:03 2008 for ldapsdk by  doxygen 1.3.9.1