LDAPReferenceList Class Reference

Container class for storing a list of Search References. More...

#include <LDAPReferenceList.h>

List of all members.

Public Types

typedef ListType::const_iterator const_iterator

Public Member Functions

 LDAPReferenceList ()
 Constructs an empty list.
 LDAPReferenceList (const LDAPReferenceList &rl)
 Copy-constructor.
 ~LDAPReferenceList ()
 Destructor.
size_t size () const
bool empty () const
const_iterator begin () const
const_iterator end () const
void addReference (const LDAPSearchReference &e)
 Adds one element to the end of the list.

Detailed Description

Container class for storing a list of Search References.

Used internally only by LDAPSearchResults


Member Typedef Documentation

typedef ListType::const_iterator LDAPReferenceList::const_iterator

Constructor & Destructor Documentation

LDAPReferenceList::LDAPReferenceList (  ) 

Constructs an empty list.

LDAPReferenceList::LDAPReferenceList ( const LDAPReferenceList rl  ) 

Copy-constructor.

LDAPReferenceList::~LDAPReferenceList (  ) 

Destructor.


Member Function Documentation

void LDAPReferenceList::addReference ( const LDAPSearchReference e  ) 

Adds one element to the end of the list.

Parameters:
e The LDAPSearchReference to add to the list.

Referenced by LDAPSearchResults::readMessageQueue().

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

Referenced by LDAPSearchResults::LDAPSearchResults(), and LDAPSearchResults::readMessageQueue().

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

Referenced by LDAPSearchResults::getNext().

size_t LDAPReferenceList::size (  )  const
Returns:
The number of LDAPSearchReference-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:45:11 2010 for ldapsdk by  doxygen 1.6.3