Go to the documentation of this file.
33 LDAPEntry(
const std::string& dn=std::string(),
58 void setDN(
const std::string& dn);
99 const std::string&
getDN()
const ;
116 #endif //LDAP_ENTRY_H
LDAPEntry & operator=(const LDAPEntry &from)
Assignment operator.
Definition: LDAPEntry.cpp:47
This class represents an asynchronous connection to an LDAP-Server.
Definition: LDAPAsynConnection.h:45
#define LDAP_DEBUG_TRACE
Definition: debug.h:12
const std::string & getDN() const
Definition: LDAPEntry.cpp:71
#define LDAP_DEBUG_PARAMETER
Definition: debug.h:15
ostream & operator<<(ostream &s, const LDAPEntry &le)
Definition: LDAPEntry.cpp:101
#define DEBUG(level, arg)
Definition: debug.h:30
This container class is used to store multiple LDAPAttribute-objects.
Definition: LDAPAttributeList.h:22
#define LDAP_DEBUG_DESTROY
Definition: debug.h:14
LDAP * getSessionHandle() const
Definition: LDAPAsynConnection.cpp:292
This class is used to store every kind of LDAP Entry.
Definition: LDAPEntry.h:19
friend std::ostream & operator<<(std::ostream &s, const LDAPEntry &le)
This method can be used to dump the data of a LDAPResult-Object.
#define LDAP_DEBUG_CONSTRUCT
Definition: debug.h:13
void setAttributes(LDAPAttributeList *attrs)
Sets the attributes of the entry.
Definition: LDAPEntry.cpp:61
void setDN(const std::string &dn)
Sets the DN-attribute.
Definition: LDAPEntry.cpp:54
LDAPEntry(const LDAPEntry &entry)
Copy-constructor.
Definition: LDAPEntry.cpp:16
void delAttribute(const std::string &type)
Deletes all values of an Attribute from the list of Attributes (simple wrapper around LDAPAttributeLi...
Definition: LDAPEntry.cpp:91
const LDAPAttribute * getAttributeByName(const std::string &name) const
Get an Attribute by its AttributeType (simple wrapper around LDAPAttributeList::getAttributeByName() ...
Definition: LDAPEntry.cpp:81
Represents the name an value(s) of an Attribute.
Definition: LDAPAttribute.h:21
const LDAPAttributeList * getAttributes() const
Definition: LDAPEntry.cpp:76
~LDAPEntry()
Destructor.
Definition: LDAPEntry.cpp:42
void addAttribute(const LDAPAttribute &attr)
Adds one Attribute to the List of Attributes (simple wrapper around LDAPAttributeList::addAttribute()...
Definition: LDAPEntry.cpp:86
void replaceAttribute(const LDAPAttribute &attr)
Replace an Attribute in the List of Attributes (simple wrapper around LDAPAttributeList::replaceAttri...
Definition: LDAPEntry.cpp:96