2 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
7 #include "LDAPEntryList.h"
10 LDAPEntryList::LDAPEntryList(){
13 LDAPEntryList::LDAPEntryList(const LDAPEntryList& e){
14 m_entries = e.m_entries;
17 LDAPEntryList::~LDAPEntryList(){
20 size_t LDAPEntryList::size() const{
21 return m_entries.size();
24 bool LDAPEntryList::empty() const{
25 return m_entries.empty();
28 LDAPEntryList::const_iterator LDAPEntryList::begin() const{
29 return m_entries.begin();
32 LDAPEntryList::const_iterator LDAPEntryList::end() const{
33 return m_entries.end();
36 void LDAPEntryList::addEntry(const LDAPEntry& e){
37 m_entries.push_back(e);