Back to index

openldap  2.4.31
LDAPAttribute.cpp File Reference
#include <ldap.h>
#include <cstdlib>
#include "debug.h"
#include "StringList.h"
#include "LDAPAttribute.h"

Go to the source code of this file.


ostream & operator<< (ostream &s, const LDAPAttribute &attr)

Function Documentation

ostream& operator<< ( std::ostream &  s,
const LDAPAttribute attr 

It is only useful for debugging purposes at the moment

Definition at line 188 of file LDAPAttribute.cpp.

    s << attr.m_name << "=";
    StringList::const_iterator i;
    if (attr.isNotPrintable()){
           s << "NOT_PRINTABLE" ;
       for(i=attr.m_values.begin(); i!=attr.m_values.end(); i++){
           s << *i << " ";
       return s;

Here is the call graph for this function: