#include <LDAPAttributeList.h>
Public Types | |
| typedef ListType::const_iterator | const_iterator |
| typedef ListType::iterator | iterator |
Public Member Functions | |
| LDAPAttributeList (const LDAPAttributeList &al) | |
| Copy-constructor. | |
| LDAPAttributeList (const LDAPAsynConnection *ld, LDAPMessage *msg) | |
| For internal use only. | |
| LDAPAttributeList () | |
| Constructs an empty list. | |
| virtual | ~LDAPAttributeList () |
| Destructor. | |
| size_t | size () const |
| bool | empty () const |
| const_iterator | begin () const |
| const_iterator | end () const |
| const LDAPAttribute * | getAttributeByName (const std::string &name) const |
| Get an Attribute by its AttributeType. | |
| void | addAttribute (const LDAPAttribute &attr) |
| Adds one element to the end of the list. | |
| LDAPMod ** | toLDAPModArray () const |
| Translates the list of Attributes to a 0-terminated array of LDAPMod-structures as needed by the C-API. | |
Private Types | |
| typedef std::list< LDAPAttribute > | ListType |
Private Attributes | |
| ListType | m_attrs |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const LDAPAttributeList &al) |
| This method can be used to dump the data of a LDAPResult-Object. | |
|
|
|
|
|
|
|
|
|
|
|
Copy-constructor.
|
|
||||||||||||
|
For internal use only. This constructor is used by the library internally to create a list of attributes from a LDAPMessage-struct that was return by the C-API |
|
|
Constructs an empty list.
|
|
|
Destructor.
|
|
|
Adds one element to the end of the list.
|
|
|
|
|
|
|
|
|
|
|
|
Get an Attribute by its AttributeType.
|
|
|
|
|
|
Translates the list of Attributes to a 0-terminated array of LDAPMod-structures as needed by the C-API.
|
|
||||||||||||
|
This method can be used to dump the data of a LDAPResult-Object. It is only useful for debugging purposes at the moment |
|
|
|
1.4.6