ldapsdk  0.0.1
Public Types | Public Member Functions | List of all members
LDAPReferenceList Class Reference

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

#include <LDAPReferenceList.h>

Public Types

typedef ListType::const_iterator const_iterator
 

Public Member Functions

 LDAPReferenceList ()
 Constructs an empty list. More...
 
 LDAPReferenceList (const LDAPReferenceList &rl)
 Copy-constructor. More...
 
 ~LDAPReferenceList ()
 Destructor. More...
 
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. More...
 

Detailed Description

Container class for storing a list of Search References.

Used internally only by LDAPSearchResults

Member Typedef Documentation

◆ const_iterator

typedef ListType::const_iterator LDAPReferenceList::const_iterator

Constructor & Destructor Documentation

◆ LDAPReferenceList() [1/2]

LDAPReferenceList::LDAPReferenceList ( )

Constructs an empty list.

◆ LDAPReferenceList() [2/2]

LDAPReferenceList::LDAPReferenceList ( const LDAPReferenceList rl)

Copy-constructor.

◆ ~LDAPReferenceList()

LDAPReferenceList::~LDAPReferenceList ( )

Destructor.

Member Function Documentation

◆ addReference()

void LDAPReferenceList::addReference ( const LDAPSearchReference e)

Adds one element to the end of the list.

Parameters
eThe LDAPSearchReference to add to the list.

Referenced by LDAPSearchResults::readMessageQueue().

◆ begin()

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().

◆ empty()

bool LDAPReferenceList::empty ( ) const
Returns
true if there are zero LDAPSearchReference-objects currently stored in this list.

◆ end()

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()

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: