Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

AttLineSetter Class Reference

#include <HVisitors.h>

Inheritance diagram for AttLineSetter:

Inheritance graph
[legend]
Collaboration diagram for AttLineSetter:

Collaboration graph
[legend]
List of all members.

Detailed Description

An HVisitor that sets the line attributes lcolor, lstyle, and lwidth.

See root class TAttLine for a documentation of these attributes.

All root histogram classes are derived from TAttLine.

Definition at line 130 of file HVisitors.h.

Public Member Functions

 AttLineSetter (Color_t lcolor_=-1, Style_t lstyle_=-1, Width_t lwidth_=-1)
 Constructor.

virtual void visit (RegO &h) const
 The visit function.

virtual void visit (TLine &h) const

Private Attributes

Color_t lcolor
 The new color; -1: dont set it.

Style_t lstyle
 The new style; -1: dont set it.

Width_t lwidth
 The new width; -1: dont set it.


Constructor & Destructor Documentation

AttLineSetter::AttLineSetter Color_t  lcolor_ = -1,
Style_t  lstyle_ = -1,
Width_t  lwidth_ = -1
[inline]
 

Constructor.

Parameters:
lcolor_  The new color; -1: dont set it
lstyle_  The new style; -1: dont set it
lwidth_  The new width; -1: dont set it

Definition at line 133 of file HVisitors.h.

References lcolor, lstyle, and lwidth.


Member Function Documentation

virtual void AttLineSetter::visit RegO h  )  const [inline, virtual]
 

The visit function.

Parameters:
h  The object to be visited

Implements ConstHVisitor.

Definition at line 140 of file HVisitors.h.

References lcolor, lstyle, and lwidth.

virtual void AttLineSetter::visit TLine &  h  )  const [inline, virtual]
 

Parameters:
h  The object to be visited

Definition at line 148 of file HVisitors.h.

References lcolor, lstyle, and lwidth.


The documentation for this class was generated from the following file:
Generated on Thu Oct 26 12:54:23 2006 for SFH by doxygen 1.3.2