Qore openldap Module 1.3.0
Loading...
Searching...
No Matches
LdapSearchIterator Class Reference

Iterator for LDAP search results. More...

#include <LdapHelper.qm.dox.h>

Inherits AbstractIterator.

Public Member Methods

void constructor (hash< auto > results)
 Creates a new search iterator from search results.
 
bool next ()
 Advances to the next entry.
 
LdapEntry getValue ()
 Gets the current entry as an LdapEntry object.
 
bool valid ()
 Checks if the iterator is valid.
 
void reset ()
 Resets the iterator.
 
int size ()
 Returns the number of results.
 
list< LdapEntrygetAll ()
 Gets all entries as a list.
 

Detailed Description

Iterator for LDAP search results.

Provides memory-efficient iteration over search results by wrapping the search result hash.

Member Function Documentation

◆ constructor()

void LdapSearchIterator::constructor ( hash< auto >  results)

Creates a new search iterator from search results.

Parameters
resultsthe hash returned from LdapClient::search()

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