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
 
Returns:
The number of LDAPSearchReference-objects that are currently stored in this list.

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

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

const_iterator end () const
 
Returns:
A iterator that points to the element after the last element of the list.

void addReference (const LDAPSearchReference &e)
 Adds one element to the end of the list.

Private Types

typedef std::list
< LDAPSearchReference
ListType

Private Attributes

ListType m_refs


Detailed Description

Container class for storing a list of Search References.

Used internally only by LDAPSearchResults


Member Typedef Documentation

typedef std::list<LDAPSearchReference> LDAPReferenceList::ListType [private]

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

size_t LDAPReferenceList::size (  )  const

Returns:
The number of LDAPSearchReference-objects that are currently stored in this list.

bool LDAPReferenceList::empty (  )  const

Returns:
true if there are zero LDAPSearchReference-objects currently stored in this list.

LDAPReferenceList::const_iterator LDAPReferenceList::begin (  )  const

Returns:
A iterator that points to the first element of the list.

LDAPReferenceList::const_iterator LDAPReferenceList::end (  )  const

Returns:
A iterator that points to the element after the last element of the list.

void LDAPReferenceList::addReference ( const LDAPSearchReference e  ) 

Adds one element to the end of the list.

Parameters:
e The LDAPSearchReference to add to the list.


Member Data Documentation

ListType LDAPReferenceList::m_refs [private]


The documentation for this class was generated from the following files:
Generated on Sat Sep 22 10:21:53 2007 for ldapsdk by  doxygen 1.5.3