| 1 |
// $OpenLDAP$ |
| 2 |
/* |
| 3 |
* Copyright 2000-2024 The OpenLDAP Foundation, All Rights Reserved. |
| 4 |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
| 5 |
*/ |
| 6 |
|
| 7 |
|
| 8 |
#include "LDAPEntryList.h" |
| 9 |
#include "LDAPEntry.h" |
| 10 |
|
| 11 |
LDAPEntryList::LDAPEntryList(){ |
| 12 |
} |
| 13 |
|
| 14 |
LDAPEntryList::LDAPEntryList(const LDAPEntryList& e){ |
| 15 |
m_entries = e.m_entries; |
| 16 |
} |
| 17 |
|
| 18 |
LDAPEntryList::~LDAPEntryList(){ |
| 19 |
} |
| 20 |
|
| 21 |
size_t LDAPEntryList::size() const{ |
| 22 |
return m_entries.size(); |
| 23 |
} |
| 24 |
|
| 25 |
bool LDAPEntryList::empty() const{ |
| 26 |
return m_entries.empty(); |
| 27 |
} |
| 28 |
|
| 29 |
LDAPEntryList::const_iterator LDAPEntryList::begin() const{ |
| 30 |
return m_entries.begin(); |
| 31 |
} |
| 32 |
|
| 33 |
LDAPEntryList::const_iterator LDAPEntryList::end() const{ |
| 34 |
return m_entries.end(); |
| 35 |
} |
| 36 |
|
| 37 |
void LDAPEntryList::addEntry(const LDAPEntry& e){ |
| 38 |
m_entries.push_back(e); |
| 39 |
} |
| 40 |
|