RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::IBaseStyleROOT Class Reference

Superclass for all styles in AIDA Plotting package. More...

#include <IBaseStyleROOT.h>

Inheritance diagram for AIDA::IBaseStyleROOT:
AIDA::IBaseStyle AIDA::IAxisStyleROOT AIDA::IBrushStyleROOT AIDA::IDataStyleROOT AIDA::IInfoStyleROOT AIDA::IPlotterStyleROOT AIDA::ITitleStyleROOT AIDA::IFillStyleROOT AIDA::ILineStyleROOT AIDA::IMarkerStyleROOT AIDA::ITextStyleROOT

Public Member Functions

virtual ~IBaseStyleROOT ()
 Destructor.
 
virtual void reset ()
 Return to original (construction time) state. More...
 
virtual bool setParameter (const std::string &paramName, const std::string &options="")
 Set a parameter. More...
 
virtual std::string parameterValue (const std::string &parameter) const
 Get value of a parameter. More...
 
virtual std::vector< std::string > availableParameters () const
 Get list of the available parameters (implementation-dependent)
 
virtual std::vector< std::string > availableParameterOptions (const std::string &paramName) const
 Get list of the available options for a given parameter (implementation-dependent).
 
- Public Member Functions inherited from AIDA::IBaseStyle
virtual ~IBaseStyle ()
 Destructor.
 

Detailed Description

Superclass for all styles in AIDA Plotting package.

All styles can be reset to their original values at construction time. In the case of styles which 'contain' other styles (like IStyle or IAxisStyle), reset() calls reset() on the aggregated styles too. All styles are hierarchical, so the plotter's current style is overridden by the region's current style, which is overridden by any 'associated' style which is overwritten by any style passed in explicitly at plotting time. Parameters and options which have been explicitly set to non-default (or default!) values are 'sticky'. For example, if a style has the default 'red' and this has been set explicitly to 'blue' at the Plotter level, then it will override the default 'red' at the Region level. IF the user explicitly sets the region to 'green' (or 'red'!) then it will not be overridden by the 'parent' style.

Author
T. Kraemer, DESY
Version
Id:
IBaseStyleROOT.h,v 1.2 2006-12-18 09:49:56 tkraemer Exp

Member Function Documentation

std::string IBaseStyleROOT::parameterValue ( const std::string &  parameter) const
virtual

Get value of a parameter.

Parameters
paramNameName of the parameter.
Returns
the value.

Implements AIDA::IBaseStyle.

void IBaseStyleROOT::reset ( )
virtual

Return to original (construction time) state.

Explicitly set parameters will be set to defaults and may be overridden

Implements AIDA::IBaseStyle.

bool IBaseStyleROOT::setParameter ( const std::string &  paramName,
const std::string &  options = "" 
)
virtual

Set a parameter.

Parameters
paramNameName of the parameter.
optionsString of options.
Returns
false if parameter (or its options) unknown or invalid.

Implements AIDA::IBaseStyle.


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