87 for (
Int_t i = 0; i <
n; i++) {
119 std::cout <<
GetName() <<
": " << std::endl;
120 }
else if (counter != 0) {
121 for (
Int_t i = 0; i < counter; i++) {
133 LDAPMod *tmpMod =
new LDAPMod;
135 char **values =
new char* [iCount + 1];
137 for (
int i = 0; i < iCount; i++) {
139 values[i] =
new char [nch];
145 tmpMod->mod_values = values;
146 tmpMod->mod_type =
type;
virtual const char * GetName() const
Returns name of object.
void DeleteValue(const char *value)
Delete value by name.
void AddValue(const char *value)
Add a value to the attribute.
Collectable string class.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
TLDAPAttribute(const char *name)
constructor
virtual void AddLast(TObject *obj)
Add object at the end of the list.
The TNamed class is the base class for all named ROOT classes.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
TLDAPAttribute & operator=(const TLDAPAttribute &)
Equal operator.
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
LDAPMod * GetMod(Int_t op)
Get "LDAPMod" structure for attribute.
virtual ~TLDAPAttribute()
destructor
const char * GetValue() const
Get next value of the attribute.
void Print(Option_t *="") const
Print an attribute.