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 void setDN(const std::string &dn)
Sets the DN-attribute.
Definition: LDAPEntry.cpp:54
const std::string & getDN() const
Definition: LDAPEntry.cpp:71
void replaceAttribute(const LDAPAttribute &attr)
Replace an Attribute in the List of Attributes (simple wrapper around LDAPAttributeList::replaceAttri...
Definition: LDAPEntry.cpp:96
This class represents an asynchronous connection to an LDAP-Server.
Definition: LDAPAsynConnection.h:45
~LDAPEntry()
Destructor.
Definition: LDAPEntry.cpp:42
LDAPEntry & operator=(const LDAPEntry &from)
Assignment operator.
Definition: LDAPEntry.cpp:47
Represents the name an value(s) of an Attribute.
Definition: LDAPAttribute.h:21
void addAttribute(const LDAPAttribute &attr)
Adds one Attribute to the List of Attributes (simple wrapper around LDAPAttributeList::addAttribute()...
Definition: LDAPEntry.cpp:86
void setAttributes(LDAPAttributeList *attrs)
Sets the attributes of the entry.
Definition: LDAPEntry.cpp:61
const LDAPAttributeList * getAttributes() const
Definition: LDAPEntry.cpp:76
This class is used to store every kind of LDAP Entry.
Definition: LDAPEntry.h:19
This container class is used to store multiple LDAPAttribute-objects.
Definition: LDAPAttributeList.h:22
friend std::ostream & operator<<(std::ostream &s, const LDAPEntry &le)
This method can be used to dump the data of a LDAPResult-Object.
const LDAPAttribute * getAttributeByName(const std::string &name) const
Get an Attribute by its AttributeType (simple wrapper around LDAPAttributeList::getAttributeByName() ...
Definition: LDAPEntry.cpp:81
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