HistogramBase.h
Go to the documentation of this file.
1 #ifndef HISTOGRAMSVC_BASE_H
2 #define HISTOGRAMSVC_BASE_H
3 
4 #include <iostream>
5 #include "GaudiKernel/Kernel.h"
6 
7 class TObject;
8 
9 /*
10  * Gaudi namespace declaration
11  */
12 namespace Gaudi {
13 
23  public:
25  virtual TObject* representation() const = 0;
27  virtual void adoptRepresentation(TObject*rep) = 0;
29  virtual std::ostream& print(std::ostream& s) const = 0;
31  virtual std::ostream& write(std::ostream& s) const = 0;
33  virtual int write(const char* file_name) const = 0;
34  virtual ~HistogramBase() = default;
35  }; // class
36 
37 } // namespace Gaudi
38 
39 #endif // HISTOGRAMSVC_BASE_H
40 
Common base class for all histograms Use is solely functional to minimize dynamic_casts inside Histog...
Definition: HistogramBase.h:22
void print(string text)
Definition: mergesort.cpp:33
string s
Definition: gaudirun.py:245
#define GAUDI_API
Definition: Kernel.h:107
STL class.
Helper functions to set/get the application return code.
Definition: __init__.py:1