LDAPUrlList Class Reference

This container class is used to store multiple LDAPUrl-objects. More...

#include <LDAPUrlList.h>

List of all members.

Public Types

typedef ListType::const_iterator const_iterator

Public Member Functions

 LDAPUrlList ()
 Constructs an empty list.
 LDAPUrlList (const LDAPUrlList &urls)
 Copy-constructor.
 LDAPUrlList (char **urls)
 For internal use only.
 ~LDAPUrlList ()
 Destructor.
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.

Detailed Description

This container class is used to store multiple LDAPUrl-objects.


Member Typedef Documentation

typedef ListType::const_iterator LDAPUrlList::const_iterator

Constructor & Destructor Documentation

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 add(), DEBUG, and LDAP_DEBUG_CONSTRUCT.

LDAPUrlList::~LDAPUrlList (  ) 

Destructor.

References DEBUG, and LDAP_DEBUG_DESTROY.


Member Function Documentation

void LDAPUrlList::add ( const LDAPUrl url  ) 

Adds one element to the end of the list.

Parameters:
attr The attribute to add to the list.

Referenced by LDAPUrlList().

LDAPUrlList::const_iterator LDAPUrlList::begin (  )  const
Returns:
A iterator that points to the first element of the list.

Referenced by LDAPAsynConnection::referralConnect().

bool LDAPUrlList::empty (  )  const
Returns:
true if there are zero LDAPUrl-objects currently stored in this list.
LDAPUrlList::const_iterator LDAPUrlList::end (  )  const
Returns:
A iterator that points to the element after the last element of the list.

Referenced by LDAPAsynConnection::referralConnect().

size_t LDAPUrlList::size (  )  const
Returns:
The number of LDAPUrl-objects that are currently stored in this list.

The documentation for this class was generated from the following files:
Generated on Mon Jul 5 13:35:54 2010 for ldapsdk by  doxygen 1.6.3