Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::Style Class Reference

#include <Style.h>

Inheritance diagram for Hal::Style:
Hal::AxisStyle Hal::FillStyle Hal::HistoStyle Hal::LineStyle Hal::MarkerStyle Hal::PadStyle

Public Member Functions

Bool_t Find (Int_t bit) const
 
Styleoperator= (const Style &style)=default
 
void ExportToXML (XMLNode *node) const
 
void ImportFromXML (XMLNode *node)
 
 ClassDef (Style, 1)
 

Protected Member Functions

void SetF (Int_t bit, Float_t val)
 
void SetI (Int_t bit, Int_t val)
 
Float_t GetF (Int_t bit) const
 
Int_t GetI (Int_t bit) const
 

Detailed Description

basic class for holding styles, useful for plot many histograms this class however do not store all possible configuration of histogram in principle it contains values (int or float) and flags, wherever user call set the flag bit is changed from 0 to 1, such values are later exported. It mean that it contains only information about values that were changed.

Definition at line 33 of file Style.h.

Constructor & Destructor Documentation

◆ Style()

Hal::Style::Style ( )
inline

Definition at line 49 of file Style.h.

◆ ~Style()

virtual Hal::Style::~Style ( )
inlinevirtual

Definition at line 68 of file Style.h.

Member Function Documentation

◆ ExportToXML()

void Hal::Style::ExportToXML ( XMLNode * node) const

this method should export configuration to xml - note only changed values are exported

Parameters
node

◆ Find()

Bool_t Hal::Style::Find ( Int_t bit) const
inline

return true if value was set

Parameters
bit
Returns

Definition at line 55 of file Style.h.

◆ GetF()

Float_t Hal::Style::GetF ( Int_t bit) const
inlineprotected

Definition at line 45 of file Style.h.

◆ GetI()

Int_t Hal::Style::GetI ( Int_t bit) const
inlineprotected

Definition at line 46 of file Style.h.

◆ ImportFromXML()

void Hal::Style::ImportFromXML ( XMLNode * node)

this should import configuration from xml

Parameters
node

◆ SetF()

void Hal::Style::SetF ( Int_t bit,
Float_t val )
protected

Definition at line 27 of file Style.cxx.

◆ SetI()

void Hal::Style::SetI ( Int_t bit,
Int_t val )
protected

Definition at line 32 of file Style.cxx.


The documentation for this class was generated from the following files: