8#ifndef HAL_FEATURES_HIST_STYLES_LINESTYLE_H_
9#define HAL_FEATURES_HIST_STYLES_LINESTYLE_H_
21 static const unsigned short int kColor;
22 static const unsigned short int kWidth;
23 static const unsigned short int kStyle;
26 void SetColor(Int_t val);
28 void SetWidth(Int_t val);
30 void SetStyle(Int_t val);
32 Int_t GetColor()
const;
34 Int_t GetWidth()
const;
36 Int_t GetStyle()
const;
38 void ExportToXML(
XMLNode* node)
const;
40 void ImportFromXML(
XMLNode* node);
43 void Apply(T& obj)
const;
52inline void Hal::LineStyle::Apply(T& obj)
const {
53 if (
Find(kWidth)) obj.SetLineWidth(GetI(kWidth));
54 if (
Find(kColor)) obj.SetLineColor(GetI(kColor));
55 if (
Find(kStyle)) obj.SetLineStyle(GetI(kStyle));
Bool_t Find(Int_t bit) const