TLegendEntry Class Reference

#include <TLegendEntry.h>

Inheritance diagram for TLegendEntry:

TAttMarker TAttFill TAttLine TAttText TObject TAttMarker TAttFill TAttLine TAttText TObject List of all members.

Public Member Functions

 TLegendEntry ()
 TLegendEntry (const TObject *obj, const char *label=0, Option_t *option="lpf")
 TLegendEntry (const TLegendEntry &entry)
virtual ~TLegendEntry ()
virtual void Copy (TObject &obj) const
virtual const char * GetLabel () const
virtual TObjectGetObject () const
virtual Option_tGetOption () const
virtual void Print (Option_t *option="") const
virtual void SaveEntry (ostream &out, const char *name)
virtual void SetLabel (const char *label="")
virtual void SetObject (TObject *obj)
virtual void SetObject (const char *objectName)
virtual void SetOption (Option_t *option="lpf")
 TLegendEntry ()
 TLegendEntry (const TObject *obj, const char *label=0, Option_t *option="lpf")
 TLegendEntry (const TLegendEntry &entry)
virtual ~TLegendEntry ()
virtual void Copy (TObject &obj) const
virtual const char * GetLabel () const
virtual TObjectGetObject () const
virtual Option_tGetOption () const
virtual void Print (Option_t *option="") const
virtual void SaveEntry (ostream &out, const char *name)
virtual void SetLabel (const char *label="")
virtual void SetObject (TObject *obj)
virtual void SetObject (const char *objectName)
virtual void SetOption (Option_t *option="lpf")

Protected Attributes

TObjectfObject
TString fLabel
TString fOption
TObjectfObject

Private Member Functions

TLegendEntryoperator= (const TLegendEntry &)
TLegendEntryoperator= (const TLegendEntry &)

Detailed Description

Definition at line 44 of file TLegendEntry.h.


Constructor & Destructor Documentation

TLegendEntry::TLegendEntry (  ) 

TLegendEntry::TLegendEntry ( const TObject obj,
const char *  label = 0,
Option_t option = "lpf" 
)

Definition at line 39 of file TLegendEntry.cxx.

References fLabel, fObject, fOption, and SetObject().

TLegendEntry::TLegendEntry ( const TLegendEntry entry  ) 

Definition at line 63 of file TLegendEntry.cxx.

References entry.

TLegendEntry::~TLegendEntry (  )  [virtual]

Definition at line 72 of file TLegendEntry.cxx.

References fObject.

TLegendEntry::TLegendEntry (  ) 

TLegendEntry::TLegendEntry ( const TObject obj,
const char *  label = 0,
Option_t option = "lpf" 
)

TLegendEntry::TLegendEntry ( const TLegendEntry entry  ) 

virtual TLegendEntry::~TLegendEntry (  )  [virtual]


Member Function Documentation

void TLegendEntry::Copy ( TObject obj  )  const [virtual]

Reimplemented from TObject.

Definition at line 81 of file TLegendEntry.cxx.

References TAttMarker::Copy(), TAttFill::Copy(), TAttText::Copy(), TAttLine::Copy(), TObject::Copy(), fLabel, fObject, and fOption.

virtual const char* TLegendEntry::GetLabel (  )  const [inline, virtual]

Definition at line 52 of file TLegendEntry.h.

References TString::Data(), and fLabel.

Referenced by TLegend::PaintPrimitives().

virtual TObject* TLegendEntry::GetObject (  )  const [inline, virtual]

Definition at line 53 of file TLegendEntry.h.

References fObject.

virtual Option_t* TLegendEntry::GetOption (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 54 of file TLegendEntry.h.

References TString::Data(), and fOption.

Referenced by TLegend::PaintPrimitives().

void TLegendEntry::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

Definition at line 97 of file TLegendEntry.cxx.

References TString::Data(), fLabel, fObject, fOption, TObject::GetName(), and output().

void TLegendEntry::SaveEntry ( ostream &  out,
const char *  name 
) [virtual]

Definition at line 116 of file TLegendEntry.cxx.

References xmlio::Class, TROOT::ClassSaved(), TString::Data(), fLabel, fObject, fOption, TObject::GetName(), gROOT, TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), TAttMarker::SaveMarkerAttributes(), and TAttText::SaveTextAttributes().

virtual void TLegendEntry::SetLabel ( const char *  label = ""  )  [inline, virtual]

Definition at line 57 of file TLegendEntry.h.

References fLabel.

void TLegendEntry::SetObject ( TObject obj  )  [virtual]

Definition at line 139 of file TLegendEntry.cxx.

References fLabel, fObject, and TObject::GetTitle().

Referenced by SetObject(), and TLegendEntry().

void TLegendEntry::SetObject ( const char *  objectName  )  [virtual]

Definition at line 151 of file TLegendEntry.cxx.

References TList::FindObject(), gPad, and SetObject().

virtual void TLegendEntry::SetOption ( Option_t option = "lpf"  )  [inline, virtual]

Definition at line 60 of file TLegendEntry.h.

References fOption, and option.

TLegendEntry& TLegendEntry::operator= ( const TLegendEntry  )  [private]

virtual void TLegendEntry::Copy ( TObject obj  )  const [virtual]

Reimplemented from TObject.

virtual const char* TLegendEntry::GetLabel (  )  const [inline, virtual]

Definition at line 52 of file TLegendEntry.h.

References TString::Data(), and fLabel.

virtual TObject* TLegendEntry::GetObject (  )  const [inline, virtual]

Definition at line 53 of file TLegendEntry.h.

References fObject.

virtual Option_t* TLegendEntry::GetOption (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 54 of file TLegendEntry.h.

References TString::Data(), and fOption.

virtual void TLegendEntry::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

virtual void TLegendEntry::SaveEntry ( ostream &  out,
const char *  name 
) [virtual]

virtual void TLegendEntry::SetLabel ( const char *  label = ""  )  [inline, virtual]

Definition at line 57 of file TLegendEntry.h.

References fLabel.

virtual void TLegendEntry::SetObject ( TObject obj  )  [virtual]

virtual void TLegendEntry::SetObject ( const char *  objectName  )  [virtual]

virtual void TLegendEntry::SetOption ( Option_t option = "lpf"  )  [inline, virtual]

Definition at line 60 of file TLegendEntry.h.

References fOption, and option.

TLegendEntry& TLegendEntry::operator= ( const TLegendEntry  )  [private]


Member Data Documentation

TObject* TLegendEntry::fObject [protected]

Definition at line 63 of file TLegendEntry.h.

Referenced by Copy(), GetObject(), Print(), SaveEntry(), SetObject(), TLegendEntry(), and ~TLegendEntry().

TString TLegendEntry::fLabel [protected]

Definition at line 64 of file TLegendEntry.h.

Referenced by Copy(), GetLabel(), Print(), SaveEntry(), SetLabel(), SetObject(), and TLegendEntry().

TString TLegendEntry::fOption [protected]

Definition at line 65 of file TLegendEntry.h.

Referenced by Copy(), GetOption(), Print(), SaveEntry(), SetOption(), and TLegendEntry().

TObject* TLegendEntry::fObject [protected]

Definition at line 63 of file TLegendEntry.h.


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