ldapsdk
0.0.1
|
This container class is used to store multiple LDAPCtrl-objects. More...
#include <LDAPControlSet.h>
Public Member Functions | |
LDAPControlSet () | |
Constructs an empty std::list. More... | |
LDAPControlSet (const LDAPControlSet &cs) | |
Copy-constructor. More... | |
LDAPControlSet (LDAPControl **controls) | |
For internal use only. More... | |
~LDAPControlSet () | |
Destructor. More... | |
size_t | size () const |
bool | empty () const |
const_iterator | begin () const |
const_iterator | end () const |
void | add (const LDAPCtrl &ctrl) |
Adds one element to the end of the list. More... | |
LDAPControl ** | toLDAPControlArray () const |
Translates the list to a 0-terminated array of pointers to LDAPControl-structures as needed by the C-API. More... | |
Static Public Member Functions | |
static void | freeLDAPControlArray (LDAPControl **ctrl) |
This container class is used to store multiple LDAPCtrl-objects.
LDAPControlSet::LDAPControlSet | ( | ) |
Constructs an empty std::list.
LDAPControlSet::LDAPControlSet | ( | const LDAPControlSet & | cs | ) |
Copy-constructor.
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
LDAPControlSet::LDAPControlSet | ( | LDAPControl ** | controls | ) |
For internal use only.
This constructor creates a new LDAPControlSet for a 0-terminiated array of LDAPControl-structures as used by the C-API
controls | pointer to a 0-terminated array of pointers to LDAPControll-structures |
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
LDAPControlSet::~LDAPControlSet | ( | ) |
Destructor.
References DEBUG, and LDAP_DEBUG_DESTROY.
void LDAPControlSet::add | ( | const LDAPCtrl & | ctrl | ) |
Adds one element to the end of the list.
ctrl | The Control to add to the list. |
References DEBUG, and LDAP_DEBUG_TRACE.
LDAPControlSet::const_iterator LDAPControlSet::begin | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
bool LDAPControlSet::empty | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
LDAPControlSet::const_iterator LDAPControlSet::end | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
|
static |
References DEBUG, LDAPCtrl::freeLDAPControlStruct(), and LDAP_DEBUG_TRACE.
Referenced by LDAPDeleteRequest::sendRequest(), LDAPExtRequest::sendRequest(), LDAPCompareRequest::sendRequest(), LDAPModDNRequest::sendRequest(), LDAPAddRequest::sendRequest(), LDAPModifyRequest::sendRequest(), LDAPBindRequest::sendRequest(), LDAPSearchRequest::sendRequest(), LDAPSaslBindRequest::sendRequest(), and LDAPAsynConnection::unbind().
size_t LDAPControlSet::size | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
LDAPControl ** LDAPControlSet::toLDAPControlArray | ( | ) | const |
Translates the list to a 0-terminated array of pointers to LDAPControl-structures as needed by the C-API.
References DEBUG, and LDAP_DEBUG_TRACE.