sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 10092 - svn://svn.freehep.org/svn / freehep / cvs / aidainclude / trunk / AIDA / IInfo.h
Show File - IInfo.h  [show properties]
Search for Help
spinner
// -*- C++ -*-
// AID-GENERATED
// =========================================================================
// This class was generated by AID - Abstract Interface Definition
// DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
// =========================================================================
#ifndef AIDA_IINFO_H
#define AIDA_IINFO_H 1
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 
23  /**
24   * The info class permits to access the info area of a region.
25   * Through it legends, statistics, text could be displayed.
26   * A legend is an association of a graphical marker and a text.
27   *
28   * @author The AIDA team (http://aida.freehep.org/)
29   *
30   */
31 
32  class IInfo {
33 
34  public:
35      /// Destructor.
36      virtual ~IInfo() { /* nop */; }
37 
38    /**
39     * Clear the info area.
40     */
41      virtual void clear() = 0;
42 
43    /**
44     * Add a text. The text is appended to existing info elements.
45     */
46      virtual void addText(const std::string & text) = 0;
47 
48    /**
49     * Add a marker, line or fill area legend.
50     * The legend is appended to existing elements.
51     */
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 */


feed icon

sventon 2.5.1