Go to the documentation of this file.
7 #ifndef LDAP_CONTROL_SET_H
8 #define LDAP_CONTROL_SET_H
20 typedef CtrlList::const_iterator const_iterator;
66 const_iterator
begin()
const;
72 const_iterator
end()
const;
89 #endif //LDAP_CONTROL_SET_H
#define LDAP_DEBUG_TRACE
Definition: debug.h:12
const_iterator begin() const
Definition: LDAPControlSet.cpp:44
bool empty() const
Definition: LDAPControlSet.cpp:39
This class is used to store Controls.
Definition: LDAPControl.h:17
LDAPControl ** toLDAPControlArray() const
Translates the list to a 0-terminated array of pointers to LDAPControl-structures as needed by the C-...
Definition: LDAPControlSet.cpp:60
void add(const LDAPCtrl &ctrl)
Adds one element to the end of the list.
Definition: LDAPControlSet.cpp:55
#define DEBUG(level, arg)
Definition: debug.h:30
#define LDAP_DEBUG_DESTROY
Definition: debug.h:14
~LDAPControlSet()
Destructor.
Definition: LDAPControlSet.cpp:30
This container class is used to store multiple LDAPCtrl-objects.
Definition: LDAPControlSet.h:19
#define LDAP_DEBUG_CONSTRUCT
Definition: debug.h:13
std::list< LDAPCtrl > CtrlList
Definition: LDAPControlSet.h:14
size_t size() const
Definition: LDAPControlSet.cpp:34
static void freeLDAPControlArray(LDAPControl **ctrl)
Definition: LDAPControlSet.cpp:76
LDAPControlSet()
Constructs an empty std::list.
Definition: LDAPControlSet.cpp:12
static void freeLDAPControlStruct(LDAPControl *ctrl)
Definition: LDAPControl.cpp:87
const_iterator end() const
Definition: LDAPControlSet.cpp:50