#include <TLDAPAttribute.h>
Inheritance diagram for TLDAPAttribute:
Public Member Functions | |
TLDAPAttribute (const char *name) | |
TLDAPAttribute (const char *name, const char *value) | |
TLDAPAttribute (const TLDAPAttribute &attr) | |
virtual | ~TLDAPAttribute () |
void | AddValue (const char *value) |
void | DeleteValue (const char *value) |
const char * | GetValue () const |
Int_t | GetCount () const |
void | Print (Option_t *="") const |
Protected Member Functions | |
TLDAPAttribute & | operator= (const TLDAPAttribute &) |
Private Member Functions | |
LDAPMod * | GetMod (Int_t op) |
Private Attributes | |
TList * | fValues |
Int_t | fNCount |
Friends | |
class | TLDAPEntry |
Definition at line 25 of file TLDAPAttribute.h.
TLDAPAttribute::TLDAPAttribute | ( | const char * | name | ) |
TLDAPAttribute::TLDAPAttribute | ( | const char * | name, | |
const char * | value | |||
) |
Definition at line 26 of file TLDAPAttribute.cxx.
References AddValue(), fValues, TNamed::SetName(), and TCollection::SetOwner().
TLDAPAttribute::TLDAPAttribute | ( | const TLDAPAttribute & | attr | ) |
Definition at line 38 of file TLDAPAttribute.cxx.
References TList::AddLast(), fValues, TCollection::SetOwner(), and str.
TLDAPAttribute::~TLDAPAttribute | ( | ) | [virtual] |
LDAPMod * TLDAPAttribute::GetMod | ( | Int_t | op | ) | [private] |
Definition at line 125 of file TLDAPAttribute.cxx.
References TList::At(), fValues, GetCount(), TNamed::GetName(), i, strlcpy(), and type.
TLDAPAttribute & TLDAPAttribute::operator= | ( | const TLDAPAttribute & | ) | [protected] |
Definition at line 53 of file TLDAPAttribute.cxx.
References fNCount, fValues, and TNamed::operator=().
void TLDAPAttribute::AddValue | ( | const char * | value | ) |
Definition at line 71 of file TLDAPAttribute.cxx.
References TList::AddLast(), and fValues.
Referenced by TLDAPAttribute().
void TLDAPAttribute::DeleteValue | ( | const char * | value | ) |
Definition at line 79 of file TLDAPAttribute.cxx.
References TList::At(), fNCount, fValues, GetCount(), i, n, and TList::Remove().
const char * TLDAPAttribute::GetValue | ( | ) | const |
Definition at line 95 of file TLDAPAttribute.cxx.
References TList::At(), fNCount, fValues, GetCount(), TNamed::GetName(), and n.
Referenced by Print().
Int_t TLDAPAttribute::GetCount | ( | ) | const [inline] |
Definition at line 47 of file TLDAPAttribute.h.
References fValues, and TCollection::GetSize().
Referenced by DeleteValue(), GetMod(), GetValue(), and Print().
void TLDAPAttribute::Print | ( | Option_t * | = "" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 110 of file TLDAPAttribute.cxx.
References GetCount(), TNamed::GetName(), GetValue(), and i.
Referenced by TLDAPEntry::Print().
friend class TLDAPEntry [friend] |
Definition at line 27 of file TLDAPAttribute.h.
TList* TLDAPAttribute::fValues [private] |
Definition at line 30 of file TLDAPAttribute.h.
Referenced by AddValue(), DeleteValue(), GetCount(), GetMod(), GetValue(), operator=(), TLDAPAttribute(), and ~TLDAPAttribute().
Int_t TLDAPAttribute::fNCount [mutable, private] |
Definition at line 31 of file TLDAPAttribute.h.
Referenced by DeleteValue(), GetValue(), and operator=().