Back to index

openldap  2.4.31
Functions
LDAPResult.cpp File Reference
#include "debug.h"
#include "LDAPResult.h"
#include "LDAPAsynConnection.h"
#include "LDAPRequest.h"
#include "LDAPException.h"
#include <cstdlib>

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, LDAPResult &l)

Function Documentation

ostream& operator<< ( std::ostream &  s,
LDAPResult l 
)

It is only useful for debugging purposes at the moment

Definition at line 91 of file LDAPResult.cpp.

                                             {
    return s << "Result: " << l.m_resCode << ": "  
        << ldap_err2string(l.m_resCode) << endl 
        << "Matched: " << l.m_matchedDN << endl << "ErrMsg: " << l.m_errMsg;
}

Here is the call graph for this function: