ldapsdk
0.0.1
Main Page
Classes
Files
File List
File Members
src
LDAPUrlList.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_URL_LIST_H
8
#define LDAP_URL_LIST_H
9
10
#include <list>
11
#include <
LDAPUrl.h
>
12
16
class
LDAPUrlList
{
17
typedef
std::list<LDAPUrl> ListType;
18
19
public
:
20
typedef
ListType::const_iterator
const_iterator
;
21
25
LDAPUrlList
();
26
30
LDAPUrlList
(
const
LDAPUrlList
& urls);
31
39
LDAPUrlList
(
char
** urls);
40
44
~LDAPUrlList
();
45
50
size_t
size
()
const
;
51
56
bool
empty
()
const
;
57
61
const_iterator
begin
()
const
;
62
67
const_iterator
end
()
const
;
68
73
void
add
(
const
LDAPUrl
& url);
74
75
private
:
76
ListType m_urls;
77
};
78
#endif //LDAP_URL_LIST_H
Generated by
1.8.1