Back to index

openldap  2.4.31
Public Types | Public Member Functions | Private Types | Private Attributes
LDAPReferenceList Class Reference

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

#include <LDAPReferenceList.h>

Collaboration diagram for LDAPReferenceList:
Collaboration graph
[legend]

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
< LDAPSearchReference
ListType

Private Attributes

ListType m_refs

Detailed Description

Container class for storing a list of Search References.

Used internally only by LDAPSearchResults

Definition at line 20 of file LDAPReferenceList.h.


Member Typedef Documentation

typedef ListType::const_iterator LDAPReferenceList::const_iterator

Definition at line 24 of file LDAPReferenceList.h.

Definition at line 21 of file LDAPReferenceList.h.


Constructor & Destructor Documentation

Constructs an empty list.

Definition at line 11 of file LDAPReferenceList.cpp.

                                    {
}

Copy-constructor.

Definition at line 14 of file LDAPReferenceList.cpp.

                                                              {
    m_refs = e.m_refs;
}

Destructor.

Definition at line 18 of file LDAPReferenceList.cpp.

                                     {
}

Member Function Documentation

Adds one element to the end of the list.

Parameters:
eThe LDAPSearchReference to add to the list.

Definition at line 37 of file LDAPReferenceList.cpp.

                                                                {
    m_refs.push_back(e);
}

Here is the caller graph for this function:

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

Definition at line 29 of file LDAPReferenceList.cpp.

                                                              {
    return m_refs.begin();
}

Here is the caller graph for this function:

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

Definition at line 25 of file LDAPReferenceList.cpp.

                                   {
    return m_refs.empty();
}
Returns:
A iterator that points to the element after the last element of the list.

Definition at line 33 of file LDAPReferenceList.cpp.

                                                            {
    return m_refs.end();
}

Here is the caller graph for this function:

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

Definition at line 21 of file LDAPReferenceList.cpp.

                                    {
    return m_refs.size();
}

Member Data Documentation

Definition at line 71 of file LDAPReferenceList.h.


The documentation for this class was generated from the following files: