| 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 "LDAPReferenceList.h" |
| 9 |
#include "LDAPSearchReference.h" |
| 10 |
|
| 11 |
LDAPReferenceList::LDAPReferenceList(){ |
| 12 |
} |
| 13 |
|
| 14 |
LDAPReferenceList::LDAPReferenceList(const LDAPReferenceList& e){ |
| 15 |
m_refs = e.m_refs; |
| 16 |
} |
| 17 |
|
| 18 |
LDAPReferenceList::~LDAPReferenceList(){ |
| 19 |
} |
| 20 |
|
| 21 |
size_t LDAPReferenceList::size() const{ |
| 22 |
return m_refs.size(); |
| 23 |
} |
| 24 |
|
| 25 |
bool LDAPReferenceList::empty() const{ |
| 26 |
return m_refs.empty(); |
| 27 |
} |
| 28 |
|
| 29 |
LDAPReferenceList::const_iterator LDAPReferenceList::begin() const{ |
| 30 |
return m_refs.begin(); |
| 31 |
} |
| 32 |
|
| 33 |
LDAPReferenceList::const_iterator LDAPReferenceList::end() const{ |
| 34 |
return m_refs.end(); |
| 35 |
} |
| 36 |
|
| 37 |
void LDAPReferenceList::addReference(const LDAPSearchReference& e){ |
| 38 |
m_refs.push_back(e); |
| 39 |
} |
| 40 |
|