#include <TLegendEntry.h>
Inheritance diagram for TLegendEntry:
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 TObject * | GetObject () const |
virtual Option_t * | GetOption () 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 TObject * | GetObject () const |
virtual Option_t * | GetOption () 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 | |
TObject * | fObject |
TString | fLabel |
TString | fOption |
TObject * | fObject |
Private Member Functions | |
TLegendEntry & | operator= (const TLegendEntry &) |
TLegendEntry & | operator= (const TLegendEntry &) |
Definition at line 44 of file TLegendEntry.h.
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 | ) |
TLegendEntry::~TLegendEntry | ( | ) | [virtual] |
TLegendEntry::TLegendEntry | ( | ) |
TLegendEntry::TLegendEntry | ( | const TObject * | obj, | |
const char * | label = 0 , |
|||
Option_t * | option = "lpf" | |||
) |
TLegendEntry::TLegendEntry | ( | const TLegendEntry & | entry | ) |
virtual TLegendEntry::~TLegendEntry | ( | ) | [virtual] |
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] |
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] |
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] |
TLegendEntry& TLegendEntry::operator= | ( | const TLegendEntry & | ) | [private] |
virtual const char* TLegendEntry::GetLabel | ( | ) | const [inline, virtual] |
virtual TObject* TLegendEntry::GetObject | ( | ) | const [inline, virtual] |
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] |
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] |
TLegendEntry& TLegendEntry::operator= | ( | const TLegendEntry & | ) | [private] |
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.