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 BerValue ** getBerValues() const
For interal use only.
Definition: LDAPAttribute.cpp:125
bool isNotPrintable() const
Definition: LDAPAttribute.cpp:175
const StringList & getValues() const
Definition: LDAPAttribute.cpp:120
const std::string & getName() const
Definition: LDAPAttribute.cpp:151
LDAPMod * toLDAPMod() const
For internal use only.
Definition: LDAPAttribute.cpp:164
Represents the name an value(s) of an Attribute.
Definition: LDAPAttribute.h:21
~LDAPAttribute()
Destructor.
Definition: LDAPAttribute.cpp:73
void addValue(const std::string &value)
Add a single string value(bin/char) to the Attribute.
void setName(const std::string &name)
Sets the Attribute's name (type)
Definition: LDAPAttribute.cpp:156
int setValues(char **values)
Set the values of the attribute.
Definition: LDAPAttribute.cpp:91
LDAPAttribute()
Default constructor.
Definition: LDAPAttribute.cpp:25
Container class to store multiple string-objects.
Definition: StringList.h:15
friend std::ostream & operator<<(std::ostream &s, const LDAPAttribute &attr)
This method can be used to dump the data of a LDAPResult-Object.
int getNumValues() const
Definition: LDAPAttribute.cpp:146