![]() |
Qore openldap Module 1.3.0
|
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< LdapEntry > | getAll () |
| Gets all entries as a list. | |
Iterator for LDAP search results.
Provides memory-efficient iteration over search results by wrapping the search result hash.
| void LdapSearchIterator::constructor | ( | hash< auto > | results | ) |
Creates a new search iterator from search results.
| results | the hash returned from LdapClient::search() |