00001 // $OpenLDAP$ 00002 /* 00003 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. 00004 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 00005 */ 00006 00007 #ifndef LDAP_SEARCH_RESULTS_H 00008 #define LDAP_SEARCH_RESULTS_H 00009 00010 #include <LDAPEntry.h> 00011 #include <LDAPEntryList.h> 00012 #include <LDAPMessage.h> 00013 #include <LDAPMessageQueue.h> 00014 #include <LDAPReferenceList.h> 00015 #include <LDAPSearchReference.h> 00016 00017 class LDAPResult; 00018 00022 class LDAPSearchResults{ 00023 public: 00027 LDAPSearchResults(); 00028 00036 LDAPResult* readMessageQueue(LDAPMessageQueue* msg); 00037 00047 LDAPEntry* getNext(); 00048 private : 00049 LDAPEntryList entryList; 00050 LDAPReferenceList refList; 00051 LDAPEntryList::const_iterator entryPos; 00052 LDAPReferenceList::const_iterator refPos; 00053 }; 00054 #endif //LDAP_SEARCH_RESULTS_H 00055 00056