Back to index

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

For internal use only. More...

#include <LDAPEntryList.h>

Collaboration diagram for LDAPEntryList:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ListType::const_iterator const_iterator

Public Member Functions

 LDAPEntryList (const LDAPEntryList &el)
 Copy-Constructor.
 LDAPEntryList ()
 Default-Constructor.
 ~LDAPEntryList ()
 Destructor.
size_t size () const
bool empty () const
const_iterator begin () const
const_iterator end () const
void addEntry (const LDAPEntry &e)
 Adds an Entry to the end of the list.

Private Types

typedef std::list< LDAPEntryListType

Private Attributes

ListType m_entries

Detailed Description

For internal use only.

This class is used by LDAPSearchResults to store a std::list of LDAPEntry-Objects

Definition at line 21 of file LDAPEntryList.h.


Member Typedef Documentation

typedef ListType::const_iterator LDAPEntryList::const_iterator

Definition at line 25 of file LDAPEntryList.h.

Definition at line 22 of file LDAPEntryList.h.


Constructor & Destructor Documentation

Copy-Constructor.

Definition at line 14 of file LDAPEntryList.cpp.

                                                  {
    m_entries = e.m_entries;
}

Default-Constructor.

Definition at line 11 of file LDAPEntryList.cpp.

                            {
}

Destructor.

Definition at line 18 of file LDAPEntryList.cpp.

                             {
}

Member Function Documentation

Adds an Entry to the end of the list.

Definition at line 37 of file LDAPEntryList.cpp.

                                              {
    m_entries.push_back(e);
}

Here is the caller graph for this function:

Returns:
An iterator pointing to the first element of the list.

Definition at line 29 of file LDAPEntryList.cpp.

                                                      {
    return m_entries.begin();
}

Here is the caller graph for this function:

bool LDAPEntryList::empty ( ) const
Returns:
true if there are zero entries currently stored in the list.

Definition at line 25 of file LDAPEntryList.cpp.

                               {
    return m_entries.empty();
}
Returns:
An iterator pointing to the end of the list

Definition at line 33 of file LDAPEntryList.cpp.

                                                    {
    return m_entries.end();
}

Here is the caller graph for this function:

size_t LDAPEntryList::size ( ) const
Returns:
The number of entries currently stored in the list.

Definition at line 21 of file LDAPEntryList.cpp.

                                {
    return m_entries.size();
}

Member Data Documentation

Definition at line 68 of file LDAPEntryList.h.


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