2008-03-28 07:05:10 -04:00
|
|
|
// $OpenLDAP$
|
2000-10-03 14:50:44 -04:00
|
|
|
/*
|
2016-01-29 14:32:05 -05:00
|
|
|
* Copyright 2000-2016 The OpenLDAP Foundation, All Rights Reserved.
|
2000-10-03 14:50:44 -04:00
|
|
|
* 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();
|
|
|
|
|
}
|
|
|
|
|
|
2001-09-07 13:43:55 -04:00
|
|
|
bool LDAPEntryList::empty() const{
|
|
|
|
|
return m_entries.empty();
|
|
|
|
|
}
|
|
|
|
|
|
2000-10-03 14:50:44 -04:00
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
|