Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

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.

Private Types

typedef std::list< LDAPSearchReferenceListType

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 ListType::const_iterator LDAPReferenceList::const_iterator
 

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


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.

LDAPReferenceList::const_iterator LDAPReferenceList::begin  )  const
 

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

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.

size_t LDAPReferenceList::size  )  const
 

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


Member Data Documentation

ListType LDAPReferenceList::m_refs [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 02:19:04 2008 for ldapsdk by  doxygen 1.3.9.1