Go to the documentation of this file.
8 #ifndef LDAP_ATTRIBUTE_H
9 #define LDAP_ATTRIBUTE_H
43 LDAPAttribute(
const std::string& name,
const std::string& value=
"");
84 void addValue(
const std::string& value);
150 const std::string&
getName()
const ;
156 void setName(
const std::string& name);
181 #endif //#ifndef LDAP_ATTRIBUTE_H
#define LDAP_DEBUG_TRACE
Definition: debug.h:12
ListType::const_iterator const_iterator
Definition: StringList.h:22
LDAPMod * toLDAPMod() const
For internal use only.
Definition: LDAPAttribute.cpp:164
int setValues(char **values)
Set the values of the attribute.
Definition: LDAPAttribute.cpp:91
const_iterator begin() const
Definition: StringList.cpp:65
bool isNotPrintable() const
Definition: LDAPAttribute.cpp:175
#define LDAP_DEBUG_PARAMETER
Definition: debug.h:15
#define DEBUG(level, arg)
Definition: debug.h:30
const std::string & getName() const
Definition: LDAPAttribute.cpp:151
#define LDAP_DEBUG_DESTROY
Definition: debug.h:14
void addValue(const std::string &value)
Add a single string value(bin/char) to the Attribute.
friend std::ostream & operator<<(std::ostream &s, const LDAPAttribute &attr)
This method can be used to dump the data of a LDAPResult-Object.
ostream & operator<<(ostream &s, const LDAPAttribute &attr)
Definition: LDAPAttribute.cpp:188
#define LDAP_DEBUG_CONSTRUCT
Definition: debug.h:13
~LDAPAttribute()
Destructor.
Definition: LDAPAttribute.cpp:73
void setName(const std::string &name)
Sets the Attribute's name (type)
Definition: LDAPAttribute.cpp:156
Represents the name an value(s) of an Attribute.
Definition: LDAPAttribute.h:21
int getNumValues() const
Definition: LDAPAttribute.cpp:146
const_iterator end() const
Definition: StringList.cpp:69
BerValue ** getBerValues() const
For interal use only.
Definition: LDAPAttribute.cpp:125
Container class to store multiple string-objects.
Definition: StringList.h:15
LDAPAttribute()
Default constructor.
Definition: LDAPAttribute.cpp:25
const StringList & getValues() const
Definition: LDAPAttribute.cpp:120