#include <TLDAPEntry.h>
Inheritance diagram for TLDAPEntry:
Public Member Functions | |
TLDAPEntry (const char *dn) | |
TLDAPEntry (const TLDAPEntry &e) | |
virtual | ~TLDAPEntry () |
const char * | GetDn () const |
void | SetDn (const char *dn) |
void | AddAttribute (const TLDAPAttribute &attr) |
TLDAPAttribute * | GetAttribute () const |
TLDAPAttribute * | GetAttribute (const char *name) const |
void | DeleteAttribute (const char *name) |
Int_t | GetCount () const |
Bool_t | IsReferral () const |
TList * | GetReferrals () const |
void | Print (Option_t *="") const |
Protected Member Functions | |
TLDAPEntry & | operator= (const TLDAPEntry &) |
Private Member Functions | |
LDAPMod ** | GetMods (Int_t op) |
Private Attributes | |
TString | fDn |
TList * | fAttr |
Int_t | fNCount |
Friends | |
class | TLDAPServer |
Definition at line 30 of file TLDAPEntry.h.
TLDAPEntry::TLDAPEntry | ( | const char * | dn | ) |
TLDAPEntry::TLDAPEntry | ( | const TLDAPEntry & | e | ) |
Definition at line 30 of file TLDAPEntry.cxx.
References fAttr, GetDn(), SetDn(), and TCollection::SetOwner().
TLDAPEntry::~TLDAPEntry | ( | ) | [virtual] |
LDAPMod ** TLDAPEntry::GetMods | ( | Int_t | op | ) | [private] |
TLDAPEntry & TLDAPEntry::operator= | ( | const TLDAPEntry & | ) | [protected] |
Definition at line 45 of file TLDAPEntry.cxx.
References fAttr, fDn, fNCount, and TObject::operator=().
const char* TLDAPEntry::GetDn | ( | ) | const [inline] |
void TLDAPEntry::SetDn | ( | const char * | dn | ) | [inline] |
void TLDAPEntry::AddAttribute | ( | const TLDAPAttribute & | attr | ) |
Definition at line 65 of file TLDAPEntry.cxx.
References TList::AddLast(), and fAttr.
Referenced by TLDAPResult::CreateEntry().
TLDAPAttribute * TLDAPEntry::GetAttribute | ( | ) | const |
Definition at line 92 of file TLDAPEntry.cxx.
References TList::At(), fAttr, fNCount, GetCount(), and n.
Referenced by GetReferrals(), and Print().
TLDAPAttribute * TLDAPEntry::GetAttribute | ( | const char * | name | ) | const |
Definition at line 107 of file TLDAPEntry.cxx.
References TList::At(), fAttr, GetCount(), TObject::GetName(), i, TString::kIgnoreCase, and n.
void TLDAPEntry::DeleteAttribute | ( | const char * | name | ) |
Definition at line 123 of file TLDAPEntry.cxx.
References TList::At(), fAttr, fNCount, GetCount(), TObject::GetName(), i, TString::kIgnoreCase, n, and TList::Remove().
Int_t TLDAPEntry::GetCount | ( | ) | const [inline] |
Definition at line 55 of file TLDAPEntry.h.
References fAttr, and TCollection::GetSize().
Referenced by DeleteAttribute(), GetAttribute(), GetMods(), IsReferral(), and Print().
Bool_t TLDAPEntry::IsReferral | ( | ) | const |
Definition at line 139 of file TLDAPEntry.cxx.
References TList::At(), fAttr, GetCount(), TObject::GetName(), i, j, kFALSE, TString::kIgnoreCase, kTRUE, n, and name.
TList * TLDAPEntry::GetReferrals | ( | ) | const |
void TLDAPEntry::Print | ( | Option_t * | = "" |
) | const [virtual] |
Reimplemented from TObject.
Definition at line 74 of file TLDAPEntry.cxx.
References TList::At(), fAttr, fDn, GetAttribute(), GetCount(), TNamed::GetName(), i, TString::kIgnoreCase, n, and TLDAPAttribute::Print().
Referenced by TLDAPResult::Print().
friend class TLDAPServer [friend] |
Definition at line 32 of file TLDAPEntry.h.
TString TLDAPEntry::fDn [private] |
Definition at line 35 of file TLDAPEntry.h.
Referenced by GetDn(), operator=(), Print(), and SetDn().
TList* TLDAPEntry::fAttr [private] |
Definition at line 36 of file TLDAPEntry.h.
Referenced by AddAttribute(), DeleteAttribute(), GetAttribute(), GetCount(), GetMods(), IsReferral(), operator=(), Print(), TLDAPEntry(), and ~TLDAPEntry().
Int_t TLDAPEntry::fNCount [mutable, private] |
Definition at line 37 of file TLDAPEntry.h.
Referenced by DeleteAttribute(), GetAttribute(), and operator=().