00001
00002
00003
00004
00005
00006
00007
00008 #ifndef LDAP_MOD_LIST_H
00009 #define LDAP_MOD_LIST_H
00010
00011 #include <ldap.h>
00012 #include <list>
00013 #include <LDAPModification.h>
00014
00018 class LDAPModList{
00019 typedef std::list<LDAPModification> ListType;
00020
00021 public :
00025 LDAPModList();
00026
00030 LDAPModList(const LDAPModList&);
00031
00036 void addModification(const LDAPModification &mod);
00037
00042 LDAPMod** toLDAPModArray();
00043
00047 bool empty() const;
00048
00052 unsigned int size() const;
00053
00054 private :
00055 ListType m_modList;
00056 };
00057 #endif //LDAP_MOD_LIST_H
00058
00059