RAIDA  1.9.0
IBaseStyle.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef AIDA_IBASESTYLE_H
8 #define AIDA_IBASESTYLE_H 1
9 
10 // This file is part of the AIDA library
11 // Copyright (C) 2002 by the AIDA team. All rights reserved.
12 // This library is free software and under the terms of the
13 // GNU Library General Public License described in the LGPL.txt
14 
15 #include <string>
16 #include <vector>
17 
18 namespace AIDA {
19 
38 class IBaseStyle {
39 
40 public:
42  virtual ~IBaseStyle() { /* nop */; }
43 
48  virtual void reset() = 0;
49 
56  virtual bool setParameter(const std::string & paramName, const std::string & options = "") = 0;
57 
63  virtual std::string parameterValue(const std::string & parameter) const = 0;
64 
68  virtual std::vector<std::string> availableParameters() const = 0;
69 
74  virtual std::vector<std::string> availableParameterOptions(const std::string & paramName) const = 0;
75 }; // class
76 } // namespace AIDA
77 #endif /* ifndef AIDA_IBASESTYLE_H */
virtual std::vector< std::string > availableParameterOptions(const std::string &paramName) const =0
Get list of the available options for a given parameter (implementation-dependent).
virtual void reset()=0
Return to original (construction time) state.
Superclass for all styles in AIDA Plotting package.
Definition: IBaseStyle.h:38
virtual bool setParameter(const std::string &paramName, const std::string &options="")=0
Set a parameter.
virtual std::string parameterValue(const std::string &parameter) const =0
Get value of a parameter.
virtual std::vector< std::string > availableParameters() const =0
Get list of the available parameters (implementation-dependent)
virtual ~IBaseStyle()
Destructor.
Definition: IBaseStyle.h:42