Back to index

openldap  2.4.31
LDAPEntryList.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 "LDAPEntryList.h"
00009 #include "LDAPEntry.h"
00010 
00011 LDAPEntryList::LDAPEntryList(){
00012 }
00013 
00014 LDAPEntryList::LDAPEntryList(const LDAPEntryList& e){
00015     m_entries = e.m_entries;
00016 }
00017 
00018 LDAPEntryList::~LDAPEntryList(){
00019 }
00020 
00021 size_t LDAPEntryList::size() const{
00022     return m_entries.size();
00023 }
00024 
00025 bool LDAPEntryList::empty() const{
00026     return m_entries.empty();
00027 }
00028 
00029 LDAPEntryList::const_iterator LDAPEntryList::begin() const{
00030     return m_entries.begin();
00031 }
00032 
00033 LDAPEntryList::const_iterator LDAPEntryList::end() const{
00034     return m_entries.end();
00035 }
00036 
00037 void LDAPEntryList::addEntry(const LDAPEntry& e){
00038     m_entries.push_back(e);
00039 }
00040