00001
00002
00003
00004
00005
00006
00007 #ifndef LDAP_MOD_LIST_H
00008 #define LDAP_MOD_LIST_H
00009
00010 #include <ldap.h>
00011 #include <list>
00012 #include <LDAPModification.h>
00013
00017 class LDAPModList{
00018 typedef std::list<LDAPModification> ListType;
00019
00020 public :
00024 LDAPModList();
00025
00029 LDAPModList(const LDAPModList&);
00030
00035 void addModification(const LDAPModification &mod);
00036
00041 LDAPMod** toLDAPModArray();
00042
00043 private :
00044 ListType m_modList;
00045 };
00046 #endif //LDAP_MOD_LIST_H
00047
00048