Back to index

openldap  2.4.31
LDAPReferenceList.cpp
Go to the documentation of this file.
00001 // $OpenLDAP$
00002 /*
00003  * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved.
00004  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
00005  */
00006 
00007 
00008 #include "LDAPReferenceList.h"
00009 #include "LDAPSearchReference.h"
00010 
00011 LDAPReferenceList::LDAPReferenceList(){
00012 }
00013 
00014 LDAPReferenceList::LDAPReferenceList(const LDAPReferenceList& e){
00015     m_refs = e.m_refs;
00016 }
00017 
00018 LDAPReferenceList::~LDAPReferenceList(){
00019 }
00020 
00021 size_t LDAPReferenceList::size() const{
00022     return m_refs.size();
00023 }
00024 
00025 bool LDAPReferenceList::empty() const{
00026     return m_refs.empty();
00027 }
00028 
00029 LDAPReferenceList::const_iterator LDAPReferenceList::begin() const{
00030     return m_refs.begin();
00031 }
00032 
00033 LDAPReferenceList::const_iterator LDAPReferenceList::end() const{
00034     return m_refs.end();
00035 }
00036 
00037 void LDAPReferenceList::addReference(const LDAPSearchReference& e){
00038     m_refs.push_back(e);
00039 }
00040