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

AxisTitleAttribSetter Class Reference

#include <HVisitors.h>

Inheritance diagram for AxisTitleAttribSetter:

Inheritance graph
[legend]
Collaboration diagram for AxisTitleAttribSetter:

Collaboration graph
[legend]
List of all members.

Detailed Description

An HVisitor that sets the axis attribues name, color, style, and number of divisions.

See root class TAxis for a documentation of these attributes

Definition at line 230 of file HVisitors.h.

Public Member Functions

 AxisTitleAttribSetter (int axis_, const char *name_=0, Double_t size_=-1, Double_t offset_=-999., Color_t lcolor_=-1, Style_t font_=-1)
 Constructor.

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


Private Member Functions

 AxisTitleAttribSetter (const AxisTitleAttribSetter &source)
 Private copy constructor, left unimplemented: No copying!

AxisTitleAttribSetteroperator= (const AxisTitleAttribSetter &source)
 Private assignment operator, left unimplemented: No assignment!


Private Attributes

int axis
 The axis (1=x, 2=y, 3=z).

char * name
 The new name (0: dont set).

Double_t size
 The new size (<0: dont set).

Double_t offset
 The new offset (=-999: dont set).

Color_t lcolor
 The new color (-1: dont set).

Style_t font
 The new label font (-1: dont set).


Constructor & Destructor Documentation

AxisTitleAttribSetter::AxisTitleAttribSetter int  axis_,
const char *  name_ = 0,
Double_t  size_ = -1,
Double_t  offset_ = -999.,
Color_t  lcolor_ = -1,
Style_t  font_ = -1
[inline]
 

Constructor.

Parameters:
axis_  The axis (1=x, 2=y, 3=z)
name_  The new title (0: dont set)
size_  The new size (<0: dont set)
offset_  The new size (-999: dont set)
lcolor_  The new color (-1: dont set)
font_  The new number of divisions (-1: dont set)

Definition at line 233 of file HVisitors.h.

References axis, font, lcolor, name, offset, and size.


Member Function Documentation

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

The visit function.

Parameters:
h  The object to be visited

Implements ConstHVisitor.

Definition at line 253 of file HVisitors.h.

References axis, font, lcolor, name, offset, and size.


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