| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# HistogramBase.h

Go to the documentation of this file.

    00001 #ifndef HISTOGRAMSVC_BASE_H
    00002 #define HISTOGRAMSVC_BASE_H
    00003
    00004 #include <iostream>
    00005 #include "GaudiKernel/Kernel.h"
    00006
    00007 class TObject;
    00008
    00009 /*
    00010  *    Gaudi namespace declaration
    00011  */
    00012 namespace Gaudi {
    00013
    00022   class GAUDI_API HistogramBase {
    00023   public:
    00025     virtual TObject* representation() const = 0;
    00027     virtual void adoptRepresentation(TObject*rep) = 0;
    00029     virtual std::ostream& print(std::ostream& s) const = 0;
    00031     virtual std::ostream& write(std::ostream& s) const = 0;
    00033     virtual int           write(const char* file_name) const = 0;
    00034     virtual ~HistogramBase();
    00035   }; // class
    00036
    00037 } // namespace Gaudi
    00038
    00039 #endif // HISTOGRAMSVC_BASE_H
    00040