RAIDA  1.9.0
IInfo.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_IINFO_H
8 #define AIDA_IINFO_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 
17 namespace AIDA {
18 
19 class IFillStyle;
20 class ILineStyle;
21 class IMarkerStyle;
22 
32 class IInfo {
33 
34 public:
36  virtual ~IInfo() { /* nop */; }
37 
41  virtual void clear() = 0;
42 
46  virtual void addText(const std::string & text) = 0;
47 
52  virtual void addLegend(const IMarkerStyle & style, const std::string & description) = 0;
53 
54  virtual void addLegend(const ILineStyle & style, const std::string & description) = 0;
55 
56  virtual void addLegend(const IFillStyle & style, const std::string & description) = 0;
57 }; // class
58 } // namespace AIDA
59 #endif /* ifndef AIDA_IINFO_H */
virtual void addText(const std::string &text)=0
Add a text.
Style for all markers (histo representation, legend box etc.)
Definition: IMarkerStyle.h:28
virtual void clear()=0
Clear the info area.
The info class permits to access the info area of a region.
Definition: IInfo.h:32
Style for all lines (axis lines, legend box outlines, etc.)
Definition: ILineStyle.h:28
Style for all filled areas (boxes, regions, histograms, etc.)
Definition: IFillStyle.h:28
virtual ~IInfo()
Destructor.
Definition: IInfo.h:36
virtual void addLegend(const IMarkerStyle &style, const std::string &description)=0
Add a marker, line or fill area legend.