2000-10-03 14:50:44 -04:00
|
|
|
/*
|
|
|
|
|
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
|
|
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "LDAPReferenceList.h"
|
|
|
|
|
#include "LDAPSearchReference.h"
|
|
|
|
|
|
|
|
|
|
LDAPReferenceList::LDAPReferenceList(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
LDAPReferenceList::LDAPReferenceList(const LDAPReferenceList& e){
|
|
|
|
|
m_refs = e.m_refs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
LDAPReferenceList::~LDAPReferenceList(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
size_t LDAPReferenceList::size() const{
|
|
|
|
|
return m_refs.size();
|
|
|
|
|
}
|
|
|
|
|
|
2001-09-07 13:43:55 -04:00
|
|
|
bool LDAPReferenceList::empty() const{
|
|
|
|
|
return m_refs.empty();
|
|
|
|
|
}
|
|
|
|
|
|
2000-10-03 14:50:44 -04:00
|
|
|
LDAPReferenceList::const_iterator LDAPReferenceList::begin() const{
|
|
|
|
|
return m_refs.begin();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
LDAPReferenceList::const_iterator LDAPReferenceList::end() const{
|
|
|
|
|
return m_refs.end();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void LDAPReferenceList::addReference(const LDAPSearchReference& e){
|
|
|
|
|
m_refs.push_back(e);
|
|
|
|
|
}
|
|
|
|
|
|