TLDAPEntry Class Reference

#include <TLDAPEntry.h>

Inheritance diagram for TLDAPEntry:

TObject List of all members.

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)
TLDAPAttributeGetAttribute () const
TLDAPAttributeGetAttribute (const char *name) const
void DeleteAttribute (const char *name)
Int_t GetCount () const
Bool_t IsReferral () const
TListGetReferrals () const
void Print (Option_t *="") const

Protected Member Functions

TLDAPEntryoperator= (const TLDAPEntry &)

Private Member Functions

LDAPMod ** GetMods (Int_t op)

Private Attributes

TString fDn
TListfAttr
Int_t fNCount

Friends

class TLDAPServer

Detailed Description

Definition at line 30 of file TLDAPEntry.h.


Constructor & Destructor Documentation

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]

Definition at line 57 of file TLDAPEntry.cxx.

References fAttr.


Member Function Documentation

LDAPMod ** TLDAPEntry::GetMods ( Int_t  op  )  [private]

Definition at line 182 of file TLDAPEntry.cxx.

References TList::At(), fAttr, GetCount(), i, and n.

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]

Definition at line 49 of file TLDAPEntry.h.

References fDn.

Referenced by TLDAPEntry().

void TLDAPEntry::SetDn ( const char *  dn  )  [inline]

Definition at line 50 of file TLDAPEntry.h.

References fDn.

Referenced by TLDAPEntry().

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

Definition at line 164 of file TLDAPEntry.cxx.

References GetAttribute(), i, list, and n.

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().


Friends And Related Function Documentation

friend class TLDAPServer [friend]

Definition at line 32 of file TLDAPEntry.h.


Member Data Documentation

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=().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:42:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1