LDAPModList Class Reference

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

#include <LDAPModList.h>

List of all members.

Public Member Functions

 LDAPModList ()
 Constructs an empty list.
 LDAPModList (const LDAPModList &)
 Copy-constructor.
void addModification (const LDAPModification &mod)
 Adds one element to the end of the list.
LDAPMod ** toLDAPModArray ()
 Translates the list to a 0-terminated array of LDAPMod-structures as needed by the C-API.
bool empty () const
unsigned int size () const

Detailed Description

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


Constructor & Destructor Documentation

LDAPModList::LDAPModList (  ) 

Constructs an empty list.

References DEBUG, and LDAP_DEBUG_CONSTRUCT.

LDAPModList::LDAPModList ( const LDAPModList ml  ) 

Copy-constructor.

References DEBUG, and LDAP_DEBUG_CONSTRUCT.


Member Function Documentation

void LDAPModList::addModification ( const LDAPModification mod  ) 

Adds one element to the end of the list.

Parameters:
mod The LDAPModification to add to the std::list.

References DEBUG, and LDAP_DEBUG_TRACE.

bool LDAPModList::empty (  )  const
Returns:
true, if the ModList contains no Operations
unsigned int LDAPModList::size (  )  const
Returns:
number of Modifications in the ModList
LDAPMod ** LDAPModList::toLDAPModArray (  ) 

Translates the list to a 0-terminated array of LDAPMod-structures as needed by the C-API.

References DEBUG, and LDAP_DEBUG_TRACE.

Referenced by LDAPModifyRequest::sendRequest().


The documentation for this class was generated from the following files:
Generated on Mon Jul 5 13:35:53 2010 for ldapsdk by  doxygen 1.6.3