Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

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
bool empty () const
const_iterator begin () const
const_iterator end () const
void add (const LDAPUrl &url)
 Adds one element to the end of the list.

Private Types

typedef std::list< LDAPUrlListType

Private Attributes

ListType m_urls


Detailed Description

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


Member Typedef Documentation

typedef ListType::const_iterator LDAPUrlList::const_iterator
 

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


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

void LDAPUrlList::add const LDAPUrl url  ) 
 

Adds one element to the end of the list.

Parameters:
attr The attribute to add to the list.

LDAPUrlList::const_iterator LDAPUrlList::begin  )  const
 

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

bool LDAPUrlList::empty  )  const
 

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

LDAPUrlList::const_iterator LDAPUrlList::end  )  const
 

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

size_t LDAPUrlList::size  )  const
 

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


Member Data Documentation

ListType LDAPUrlList::m_urls [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 02:19:04 2008 for ldapsdk by  doxygen 1.3.9.1