X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=contrib%2Fldapc%2B%2B%2Fsrc%2FLDAPUrlList.h;h=6c9def958a1e9575ee685dcaa54598e356dd2ac7;hb=55339651d6d6e21dc85dca7949cb094e57a1f6b2;hp=3f905e42a2d78a2990f2b7c96ca784d109bb1898;hpb=c0dbaa736d8cb1c86a4a730e8c9b6942e0fdbb32;p=openldap diff --git a/contrib/ldapc++/src/LDAPUrlList.h b/contrib/ldapc++/src/LDAPUrlList.h index 3f905e42a2..6c9def958a 100644 --- a/contrib/ldapc++/src/LDAPUrlList.h +++ b/contrib/ldapc++/src/LDAPUrlList.h @@ -1,5 +1,6 @@ +// $OpenLDAP$ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -9,17 +10,17 @@ #include #include -typedef std::list UrlList; - /** * This container class is used to store multiple LDAPUrl-objects. */ class LDAPUrlList{ + typedef std::list ListType; + public: - typedef UrlList::const_iterator const_iterator; + typedef ListType::const_iterator const_iterator; /** - * Constructs an empty std::list. + * Constructs an empty list. */ LDAPUrlList(); @@ -32,7 +33,7 @@ class LDAPUrlList{ * For internal use only * * This constructor is used by the library internally to create a - * std::list of URLs from a array of C-std::strings that was return by + * std::list of URLs from a array of C-strings that was return by * the C-API */ LDAPUrlList(char** urls); @@ -72,6 +73,6 @@ class LDAPUrlList{ void add(const LDAPUrl& url); private : - UrlList m_urls; + ListType m_urls; }; #endif //LDAP_URL_LIST_H