mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
2941993d8f
Gohman)
40 lines
727 B
C++
40 lines
727 B
C++
/*
|
|
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
*/
|
|
|
|
|
|
#include "LDAPEntryList.h"
|
|
#include "LDAPEntry.h"
|
|
|
|
LDAPEntryList::LDAPEntryList(){
|
|
}
|
|
|
|
LDAPEntryList::LDAPEntryList(const LDAPEntryList& e){
|
|
m_entries = e.m_entries;
|
|
}
|
|
|
|
LDAPEntryList::~LDAPEntryList(){
|
|
}
|
|
|
|
size_t LDAPEntryList::size() const{
|
|
return m_entries.size();
|
|
}
|
|
|
|
bool LDAPEntryList::empty() const{
|
|
return m_entries.empty();
|
|
}
|
|
|
|
LDAPEntryList::const_iterator LDAPEntryList::begin() const{
|
|
return m_entries.begin();
|
|
}
|
|
|
|
LDAPEntryList::const_iterator LDAPEntryList::end() const{
|
|
return m_entries.end();
|
|
}
|
|
|
|
void LDAPEntryList::addEntry(const LDAPEntry& e){
|
|
m_entries.push_back(e);
|
|
}
|
|
|