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

AttFillSetter Class Reference

#include <HVisitors.h>

Inheritance diagram for AttFillSetter:

Inheritance graph
[legend]
Collaboration diagram for AttFillSetter:

Collaboration graph
[legend]
List of all members.

Detailed Description

An HVisitor that sets the Fill attributes fcolor, and fstyle.

See root class TAttFill for a documentation of these attributes.

All root histogram classes are derived from TAttFill.

Definition at line 168 of file HVisitors.h.

Public Member Functions

 AttFillSetter (Color_t fcolor_=-1, Style_t fstyle_=-1)
 Constructor.

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


Private Attributes

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

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


Constructor & Destructor Documentation

AttFillSetter::AttFillSetter Color_t  fcolor_ = -1,
Style_t  fstyle_ = -1
[inline]
 

Constructor.

Parameters:
fcolor_  The new color; -1: dont set it
fstyle_  The new style; -1: dont set it

Definition at line 171 of file HVisitors.h.

References fcolor, and fstyle.


Member Function Documentation

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

The visit function.

Parameters:
h  The object to be visited

Implements ConstHVisitor.

Definition at line 177 of file HVisitors.h.

References fcolor, and fstyle.


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