3 * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
8 #include "LDAPEntryList.h"
11 LDAPEntryList::LDAPEntryList(){
14 LDAPEntryList::LDAPEntryList(const LDAPEntryList& e){
15 m_entries = e.m_entries;
18 LDAPEntryList::~LDAPEntryList(){
21 size_t LDAPEntryList::size() const{
22 return m_entries.size();
25 bool LDAPEntryList::empty() const{
26 return m_entries.empty();
29 LDAPEntryList::const_iterator LDAPEntryList::begin() const{
30 return m_entries.begin();
33 LDAPEntryList::const_iterator LDAPEntryList::end() const{
34 return m_entries.end();
37 void LDAPEntryList::addEntry(const LDAPEntry& e){
38 m_entries.push_back(e);