#include <LDAPModList.h>
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 |
Private Types | |
| typedef std::list < LDAPModification > | ListType |
Private Attributes | |
| ListType | m_modList |
typedef std::list<LDAPModification> LDAPModList::ListType [private] |
| LDAPModList::LDAPModList | ( | ) |
| LDAPModList::LDAPModList | ( | const LDAPModList & | ml | ) |
| void LDAPModList::addModification | ( | const LDAPModification & | mod | ) |
Adds one element to the end of the list.
| mod | The LDAPModification to add to the std::list. |
References DEBUG, LDAP_DEBUG_TRACE, and m_modList.
| bool LDAPModList::empty | ( | ) | const |
| unsigned int LDAPModList::size | ( | ) | const |
| LDAPMod ** LDAPModList::toLDAPModArray | ( | ) |
Translates the list to a 0-terminated array of LDAPMod-structures as needed by the C-API.
References DEBUG, LDAP_DEBUG_TRACE, and m_modList.
Referenced by LDAPModifyRequest::sendRequest().
ListType LDAPModList::m_modList [private] |
Referenced by addModification(), empty(), LDAPModList(), size(), and toLDAPModArray().