8 #ifndef LDAP_ATTRIBUTE_LIST_H 9 #define LDAP_ATTRIBUTE_LIST_H 23 typedef std::list<LDAPAttribute> ListType;
120 #endif // LDAP_ATTRIBUTE_LIST_H const LDAPAttribute * getAttributeByName(const std::string &name) const
Get an Attribute by its AttributeType.
Definition: LDAPAttributeList.cpp:91
void replaceAttribute(const LDAPAttribute &attr)
Replace an Attribute in the List.
Definition: LDAPAttributeList.cpp:159
virtual ~LDAPAttributeList()
Destructor.
Definition: LDAPAttributeList.cpp:67
void delAttribute(const std::string &type)
Deletes all values of an Attribute for the list.
Definition: LDAPAttributeList.cpp:143
This class represents any type of LDAP- Message returned from the server.
Definition: LDAPMessage.h:23
const_iterator begin() const
Definition: LDAPAttributeList.cpp:81
void addAttribute(const LDAPAttribute &attr)
Adds one element to the end of the list.
Definition: LDAPAttributeList.cpp:110
This class represents an asynchronous connection to an LDAP-Server.
Definition: LDAPAsynConnection.h:45
const_iterator end() const
Definition: LDAPAttributeList.cpp:86
Represents the name an value(s) of an Attribute.
Definition: LDAPAttribute.h:21
LDAPAttributeList()
Constructs an empty list.
Definition: LDAPAttributeList.cpp:24
size_t size() const
Definition: LDAPAttributeList.cpp:71
ListType::iterator iterator
Definition: LDAPAttributeList.h:30
This container class is used to store multiple LDAPAttribute-objects.
Definition: LDAPAttributeList.h:22
LDAPMod ** toLDAPModArray() const
Translates the list of Attributes to a 0-terminated array of LDAPMod-structures as needed by the C-AP...
Definition: LDAPAttributeList.cpp:170
friend std::ostream & operator<<(std::ostream &s, const LDAPAttributeList &al)
This method can be used to dump the data of a LDAPResult-Object.
ListType::const_iterator const_iterator
Definition: LDAPAttributeList.h:29
bool empty() const
Definition: LDAPAttributeList.cpp:76