ldapsdk
0.0.1
|
This container class is used to store multiple LDAPUrl-objects. More...
#include <LDAPUrlList.h>
Public Types | |
typedef ListType::const_iterator | const_iterator |
Public Member Functions | |
LDAPUrlList () | |
Constructs an empty list. More... | |
LDAPUrlList (const LDAPUrlList &urls) | |
Copy-constructor. More... | |
LDAPUrlList (char **urls) | |
For internal use only. More... | |
~LDAPUrlList () | |
Destructor. More... | |
size_t | size () const |
bool | empty () const |
const_iterator | begin () const |
const_iterator | end () const |
void | add (const LDAPUrl &url) |
Adds one element to the end of the list. More... | |
This container class is used to store multiple LDAPUrl-objects.
typedef ListType::const_iterator LDAPUrlList::const_iterator |
LDAPUrlList::LDAPUrlList | ( | ) |
Constructs an empty list.
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
LDAPUrlList::LDAPUrlList | ( | const LDAPUrlList & | urls | ) |
Copy-constructor.
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
LDAPUrlList::LDAPUrlList | ( | char ** | urls | ) |
For internal use only.
This constructor is used by the library internally to create a std::list of URLs from a array of C-strings that was return by the C-API
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
LDAPUrlList::~LDAPUrlList | ( | ) |
Destructor.
References DEBUG, and LDAP_DEBUG_DESTROY.
void LDAPUrlList::add | ( | const LDAPUrl & | url | ) |
Adds one element to the end of the list.
attr | The attribute to add to the list. |
LDAPUrlList::const_iterator LDAPUrlList::begin | ( | ) | const |
Referenced by LDAPAsynConnection::referralConnect().
bool LDAPUrlList::empty | ( | ) | const |
LDAPUrlList::const_iterator LDAPUrlList::end | ( | ) | const |
Referenced by LDAPAsynConnection::referralConnect().
size_t LDAPUrlList::size | ( | ) | const |