#include <LDAPEntry.h>
Public Member Functions | |
| LDAPEntry (const LDAPEntry &entry) | |
| Copy-constructor. | |
| LDAPEntry (const std::string &dn=std::string(), const LDAPAttributeList *attrs=new LDAPAttributeList()) | |
| Constructs a new entry (also used as standard constructor). | |
| LDAPEntry (const LDAPAsynConnection *ld, LDAPMessage *msg) | |
| Used internally only. | |
| ~LDAPEntry () | |
| Destructor. | |
| void | setDN (const std::string &dn) |
| Sets the DN-attribute. | |
| void | setAttributes (LDAPAttributeList *attrs) |
| Sets the attributes of the entry. | |
| const std::string & | getDN () const |
| |
| const LDAPAttributeList * | getAttributes () const |
| |
Private Attributes | |
| LDAPAttributeList * | m_attrs |
| std::string | m_dn |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const LDAPEntry &le) |
| This method can be used to dump the data of a LDAPResult-Object. | |
| LDAPEntry::LDAPEntry | ( | const LDAPEntry & | entry | ) |
Copy-constructor.
| LDAPEntry::LDAPEntry | ( | const std::string & | dn = std::string(), |
|
| const LDAPAttributeList * | attrs = new LDAPAttributeList() | |||
| ) |
Constructs a new entry (also used as standard constructor).
| dn | The Distinguished Name for the new entry. | |
| attrs | The attributes for the new entry. |
| LDAPEntry::LDAPEntry | ( | const LDAPAsynConnection * | ld, | |
| LDAPMessage * | msg | |||
| ) |
Used internally only.
The constructor is used internally to create a LDAPEntry from the C-API's data structurs.
| LDAPEntry::~LDAPEntry | ( | ) |
Destructor.
| void LDAPEntry::setDN | ( | const std::string & | dn | ) |
Sets the DN-attribute.
| dn,: | The new DN for the entry. |
| void LDAPEntry::setAttributes | ( | LDAPAttributeList * | attrs | ) |
Sets the attributes of the entry.
| attr,: | A pointer to a std::list of the new attributes. |
| const string & LDAPEntry::getDN | ( | ) | const |
| const LDAPAttributeList * LDAPEntry::getAttributes | ( | ) | const |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const LDAPEntry & | le | |||
| ) | [friend] |
This method can be used to dump the data of a LDAPResult-Object.
It is only useful for debugging purposes at the moment
LDAPAttributeList* LDAPEntry::m_attrs [private] |
std::string LDAPEntry::m_dn [private] |
1.5.3