TLDAPAttribute Class Reference

#include <TLDAPAttribute.h>

Inheritance diagram for TLDAPAttribute:

TNamed TObject TObject List of all members.

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

TLDAPAttributeoperator= (const TLDAPAttribute &)

Private Member Functions

LDAPMod * GetMod (Int_t op)

Private Attributes

TListfValues
Int_t fNCount

Friends

class TLDAPEntry

Detailed Description

Definition at line 25 of file TLDAPAttribute.h.


Constructor & Destructor Documentation

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]

Definition at line 64 of file TLDAPAttribute.cxx.

References fValues.


Member Function Documentation

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


Friends And Related Function Documentation

friend class TLDAPEntry [friend]

Definition at line 27 of file TLDAPAttribute.h.


Member Data Documentation

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


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