LDAPSearchResults Class Reference

The class stores the results of a synchronous SEARCH-Operation. More...

#include <LDAPSearchResults.h>

List of all members.

Public Member Functions

 LDAPSearchResults ()
 Default-Constructor.
LDAPResultreadMessageQueue (LDAPMessageQueue *msg)
 For internal use only.
LDAPEntrygetNext ()
 The methode is used by the client-application to read the result entries of the SEARCH-Operation.

Private Attributes

LDAPEntryList entryList
LDAPReferenceList refList
LDAPEntryList::const_iterator entryPos
LDAPReferenceList::const_iterator refPos


Detailed Description

The class stores the results of a synchronous SEARCH-Operation.

Constructor & Destructor Documentation

LDAPSearchResults::LDAPSearchResults (  ) 

Default-Constructor.


Member Function Documentation

LDAPResult * LDAPSearchResults::readMessageQueue ( LDAPMessageQueue msg  ) 

For internal use only.

This method read Search result entries from a LDAPMessageQueue-object.

Parameters:
msg The message queue to read

LDAPEntry * LDAPSearchResults::getNext (  ) 

The methode is used by the client-application to read the result entries of the SEARCH-Operation.

Every call of this method returns one entry. If all entries were read it return 0.

Exceptions:
LDAPReferralException If a Search Reference was returned by the server
Returns:
A LDAPEntry-object as a result of a SEARCH-Operation or 0 if no more entries are there to return.


Member Data Documentation

LDAPEntryList LDAPSearchResults::entryList [private]

LDAPReferenceList LDAPSearchResults::refList [private]

LDAPEntryList::const_iterator LDAPSearchResults::entryPos [private]

LDAPReferenceList::const_iterator LDAPSearchResults::refPos [private]


The documentation for this class was generated from the following files:
Generated on Sat Sep 22 10:21:53 2007 for ldapsdk by  doxygen 1.5.3