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

LDAPModification.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
00003  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
00004  */
00005 
00006 
00007 #ifndef LDAP_MODIFICATION_H
00008 #define LDAP_MODIFICATION_H
00009 
00010 #include <ldap.h>
00011 #include <LDAPAttribute.h>
00012 
00013 class LDAPModification{
00014     public:
00015         enum mod_op {OP_ADD, OP_DELETE, OP_REPLACE};
00016 
00017         LDAPModification(const LDAPAttribute& attr, mod_op op);
00018         LDAPMod *toLDAPMod() const;
00019 
00020     private:
00021         LDAPAttribute m_attr;
00022         mod_op m_mod_op;
00023 
00024 };
00025 #endif //LDAP_MODIFICATION_H
00026 

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