KLDAP Library
21#ifndef KLDAP_LDAPOBJECT_H
22#define KLDAP_LDAPOBJECT_H
24#include <QtCore/QList>
26#include <QtCore/QSharedDataPointer>
27#include <QtCore/QString>
30#include "kldap_export.h"
34typedef QList<QByteArray> LdapAttrValue;
35typedef QMap<QString,LdapAttrValue > LdapAttrMap;
54 QString toString()
const;
63 void setDn(
const LdapDN &dn );
67 void setDn(
const QString &dn );
71 void setAttributes(
const LdapAttrMap &attrs );
78 void setValues(
const QString &attributeName,
const LdapAttrValue &values );
85 void addValue(
const QString &attributeName,
const QByteArray &value );
93 const LdapAttrMap &attributes()
const;
97 LdapAttrValue values(
const QString &attributeName )
const;
102 QByteArray value(
const QString &attributeName )
const;
106 bool hasAttribute(
const QString &attributeName )
const;
110 QSharedDataPointer<Private> d;
113typedef QList<LdapObject> LdapObjects;
This class represents an LDAP Object.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.