#include <LDAPControlSet.h>
Public Member Functions | |
| LDAPControlSet () | |
| Constructs an empty std::list. | |
| LDAPControlSet (const LDAPControlSet &cs) | |
| Copy-constructor. | |
| LDAPControlSet (LDAPControl **controls) | |
| For internal use only. | |
| ~LDAPControlSet () | |
| Destructor. | |
| 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. | |
| LDAPControl ** | toLDAPControlArray () const |
| Translates the list to a 0-terminated array of pointers to LDAPControl-structures as needed by the C-API. | |
Static Public Member Functions | |
| static void | freeLDAPControlArray (LDAPControl **ctrl) |
Private Types | |
| typedef CtrlList::const_iterator | const_iterator |
Private Attributes | |
| CtrlList | data |
typedef CtrlList::const_iterator LDAPControlSet::const_iterator [private] |
| LDAPControlSet::LDAPControlSet | ( | ) |
Constructs an empty std::list.
| LDAPControlSet::LDAPControlSet | ( | const LDAPControlSet & | cs | ) |
Copy-constructor.
| 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 |
| LDAPControlSet::~LDAPControlSet | ( | ) |
Destructor.
| size_t LDAPControlSet::size | ( | ) | const |
| bool LDAPControlSet::empty | ( | ) | const |
| LDAPControlSet::const_iterator LDAPControlSet::begin | ( | ) | const |
| LDAPControlSet::const_iterator LDAPControlSet::end | ( | ) | const |
| void LDAPControlSet::add | ( | const LDAPCtrl & | ctrl | ) |
Adds one element to the end of the list.
| ctrl | The Control to add to the list. |
| LDAPControl ** LDAPControlSet::toLDAPControlArray | ( | ) | const |
Translates the list to a 0-terminated array of pointers to LDAPControl-structures as needed by the C-API.
| void LDAPControlSet::freeLDAPControlArray | ( | LDAPControl ** | ctrl | ) | [static] |
CtrlList LDAPControlSet::data [private] |
1.5.3