Go to the documentation of this file.
8 #ifndef LDAP_ATTRIBUTE_LIST_H
9 #define LDAP_ATTRIBUTE_LIST_H
23 typedef std::list<LDAPAttribute> ListType;
120 #endif // LDAP_ATTRIBUTE_LIST_H
ListType::const_iterator const_iterator
Definition: LDAPAttributeList.h:29
virtual ~LDAPAttributeList()
Destructor.
Definition: LDAPAttributeList.cpp:67
This class represents an asynchronous connection to an LDAP-Server.
Definition: LDAPAsynConnection.h:45
#define LDAP_DEBUG_TRACE
Definition: debug.h:12
This class represents any type of LDAP- Message returned from the server.
Definition: LDAPMessage.h:23
ListType::const_iterator const_iterator
Definition: StringList.h:22
void replaceAttribute(const LDAPAttribute &attr)
Replace an Attribute in the List.
Definition: LDAPAttributeList.cpp:159
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
const_iterator begin() const
Definition: StringList.cpp:65
void addAttribute(const LDAPAttribute &attr)
Adds one element to the end of the list.
Definition: LDAPAttributeList.cpp:110
const_iterator end() const
Definition: LDAPAttributeList.cpp:86
void delAttribute(const std::string &type)
Deletes all values of an Attribute for the list.
Definition: LDAPAttributeList.cpp:143
#define LDAP_DEBUG_PARAMETER
Definition: debug.h:15
#define DEBUG(level, arg)
Definition: debug.h:30
ListType::iterator iterator
Definition: LDAPAttributeList.h:30
bool nocase_compare(char c1, char c2)
Definition: LDAPAttributeList.cpp:190
This container class is used to store multiple LDAPAttribute-objects.
Definition: LDAPAttributeList.h:22
const std::string & getName() const
Definition: LDAPAttribute.cpp:151
#define LDAP_DEBUG_DESTROY
Definition: debug.h:14
LDAP * getSessionHandle() const
Definition: LDAPAsynConnection.cpp:292
const_iterator begin() const
Definition: LDAPAttributeList.cpp:81
const LDAPAttribute * getAttributeByName(const std::string &name) const
Get an Attribute by its AttributeType.
Definition: LDAPAttributeList.cpp:91
friend std::ostream & operator<<(std::ostream &s, const LDAPAttributeList &al)
This method can be used to dump the data of a LDAPResult-Object.
#define LDAP_DEBUG_CONSTRUCT
Definition: debug.h:13
size_t size() const
Definition: LDAPAttributeList.cpp:71
Represents the name an value(s) of an Attribute.
Definition: LDAPAttribute.h:21
bool empty() const
Definition: LDAPAttributeList.cpp:76
ostream & operator<<(ostream &s, const LDAPAttributeList &al)
Definition: LDAPAttributeList.cpp:182
const_iterator end() const
Definition: StringList.cpp:69
Container class to store multiple string-objects.
Definition: StringList.h:15
LDAPAttributeList()
Constructs an empty list.
Definition: LDAPAttributeList.cpp:24
const StringList & getValues() const
Definition: LDAPAttribute.cpp:120