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, LDAP_DEBUG_CONSTRUCT, and m_modList.


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.

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().

bool LDAPModList::empty (  )  const

Returns:
true, if the ModList contains no Operations

unsigned int LDAPModList::size (  )  const

Returns:
number of Modifications in the ModList


The documentation for this class was generated from the following files:

Generated on Thu Dec 10 11:01:31 2015 for ldapsdk by  doxygen 1.5.6