29TLegendEntry::TLegendEntry():
TAttText(0,0,0,0,0),
TAttLine(1,1,1),
TAttFill(0,0),
TAttMarker(1,21,1)
51 :
TAttText(0,0,0,0,0),
TAttLine(1,1,1),
TAttFill(0,0),
TAttMarker(1,21,1)
65 entry.TLegendEntry::Copy(*
this);
97 std::cout <<
"TLegendEntry: Object ";
100 std::cout << output <<
" Label ";
102 else output =
"NULL";
103 std::cout << output <<
" Option ";
105 else output =
"NULL";
106 std::cout << output << std::endl;
116 out <<
" legentry = ";
118 out <<
" TLegendEntry *legentry = ";
158 TList *padprimitives =
gPad ?
gPad->GetListOfPrimitives() :
nullptr;
const char Option_t
Option string (const char).
virtual Color_t GetFillColor() const
Return the fill area color.
void Copy(TAttFill &attfill) const
virtual Style_t GetFillStyle() const
Return the fill area style.
virtual void SaveFillAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
virtual Color_t GetLineColor() const
Return the line color.
virtual Width_t GetLineWidth() const
Return the line width.
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
virtual Style_t GetLineStyle() const
Return the line style.
void Copy(TAttLine &attline) const
void Copy(TAttMarker &attmarker) const
virtual void SaveMarkerAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1)
void Copy(TAttText &atttext) const
virtual void SaveTextAttributes(std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
TObject * fObject
pointer to object being represented by this entry
TLegendEntry()
TLegendEntry do-nothing default constructor.
virtual void SaveEntry(std::ostream &out, const char *name)
Save this TLegendEntry as C++ statements on output stream out to be used with the SaveAs ....
~TLegendEntry() override
TLegendEntry default destructor.
TString fLabel
Text associated with the entry, will become latex.
virtual void SetObject(TObject *obj)
(re)set the obj pointed to by this entry
void Copy(TObject &obj) const override
copy this TLegendEntry into obj
void Print(Option_t *option="") const override
dump this TLegendEntry to std::cout
TString fOption
Options associated with this entry.
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
virtual void Copy(TObject &object) const
Copy this to obj.
virtual const char * GetTitle() const
Returns title of object.
TObject()
TObject constructor.
void ToLower()
Change string to lower-case.
TString & ReplaceSpecialCppChars()
Find special characters which are typically used in printf() calls and replace them by appropriate es...
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const