LDAPUrlList Class Reference

This container class is used to store multiple LDAPUrl-objects. More...

#include <LDAPUrlList.h>

List of all members.

Public Types

typedef
ListType::const_iterator 
const_iterator

Public Member Functions

 LDAPUrlList ()
 Constructs an empty list.
 LDAPUrlList (const LDAPUrlList &urls)
 Copy-constructor.
 LDAPUrlList (char **urls)
 For internal use only.
 ~LDAPUrlList ()
 Destructor.
size_t size () const
 
Returns:
The number of LDAPUrl-objects that are currently stored in this list.

bool empty () const
 
Returns:
true if there are zero LDAPUrl-objects currently stored in this list.

const_iterator begin () const
 
Returns:
A iterator that points to the first element of the list.

const_iterator end () const
 
Returns:
A iterator that points to the element after the last element of the list.

void add (const LDAPUrl &url)
 Adds one element to the end of the list.

Private Types

typedef std::list
< LDAPUrl
ListType

Private Attributes

ListType m_urls


Detailed Description

This container class is used to store multiple LDAPUrl-objects.

Member Typedef Documentation

typedef std::list<LDAPUrl> LDAPUrlList::ListType [private]

typedef ListType::const_iterator LDAPUrlList::const_iterator


Constructor & Destructor Documentation

LDAPUrlList::LDAPUrlList (  ) 

Constructs an empty list.

LDAPUrlList::LDAPUrlList ( const LDAPUrlList urls  ) 

Copy-constructor.

LDAPUrlList::LDAPUrlList ( char **  urls  ) 

For internal use only.

This constructor is used by the library internally to create a std::list of URLs from a array of C-strings that was return by the C-API

LDAPUrlList::~LDAPUrlList (  ) 

Destructor.


Member Function Documentation

size_t LDAPUrlList::size (  )  const

Returns:
The number of LDAPUrl-objects that are currently stored in this list.

bool LDAPUrlList::empty (  )  const

Returns:
true if there are zero LDAPUrl-objects currently stored in this list.

LDAPUrlList::const_iterator LDAPUrlList::begin (  )  const

Returns:
A iterator that points to the first element of the list.

LDAPUrlList::const_iterator LDAPUrlList::end (  )  const

Returns:
A iterator that points to the element after the last element of the list.

void LDAPUrlList::add ( const LDAPUrl url  ) 

Adds one element to the end of the list.

Parameters:
attr The attribute to add to the list.


Member Data Documentation

ListType LDAPUrlList::m_urls [private]


The documentation for this class was generated from the following files:
Generated on Sat Sep 22 10:21:53 2007 for ldapsdk by  doxygen 1.5.3