ldapsdk
0.0.1
Main Page
Classes
Files
File List
File Members
src
LDAPReferenceList.h
Go to the documentation of this file.
1
// $OpenLDAP$
2
/*
3
* Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
4
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5
*/
6
7
#ifndef LDAP_REFERENCE_LIST_H
8
#define LDAP_REFERENCE_LIST_H
9
10
#include <cstdio>
11
#include <list>
12
13
class
LDAPSearchReference
;
14
20
class
LDAPReferenceList
{
21
typedef
std::list<LDAPSearchReference> ListType;
22
23
public
:
24
typedef
ListType::const_iterator
const_iterator
;
25
29
LDAPReferenceList
();
30
34
LDAPReferenceList
(
const
LDAPReferenceList
& rl);
35
39
~LDAPReferenceList
();
40
45
size_t
size
()
const
;
46
51
bool
empty
()
const
;
52
56
const_iterator
begin
()
const
;
57
62
const_iterator
end
()
const
;
63
68
void
addReference
(
const
LDAPSearchReference
& e);
69
70
private
:
71
ListType m_refs;
72
};
73
#endif // LDAP_REFERENCE_LIST_H
74
Generated by
1.8.1