This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
00001 // -*- C++ -*- 00002 // AID-GENERATED 00003 // ========================================================================= 00004 // This class was generated by AID - Abstract Interface Definition 00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 00006 // ========================================================================= 00007 #ifndef AIDA_IBASEHISTOGRAM_H 00008 #define AIDA_IBASEHISTOGRAM_H 1 00009 00010 // This file is part of the AIDA library 00011 // Copyright (C) 2002 by the AIDA team. All rights reserved. 00012 // This library is free software and under the terms of the 00013 // GNU Library General Public License described in the LGPL.txt 00014 00015 #include <string> 00016 00017 namespace AIDA { 00018 00019 class IAnnotation; 00020 00029 class IBaseHistogram { 00030 00031 public: 00033 virtual ~IBaseHistogram() { /* nop */; } 00034 00040 virtual const std::string & title() const = 0; 00041 00048 virtual bool setTitle(const std::string & title) = 0; 00049 00055 virtual IAnnotation & annotation() = 0; 00056 00057 virtual const IAnnotation & annotation() const = 0; 00058 00064 virtual int dimension() const = 0; 00065 00071 virtual bool reset() = 0; 00072 00078 virtual int entries() const = 0; 00079 }; // class 00080 }; // namespace AIDA 00081 #endif /* ifndef AIDA_IBASEHISTOGRAM_H */