| The Gaudi Framework v32r1 (f65d50dc)

HistogramBase.h
Go to the documentation of this file.
1 #ifndef HISTOGRAMSVC_BASE_H
2 #define HISTOGRAMSVC_BASE_H
3
4 #include "GaudiKernel/Kernel.h"
5 #include <iostream>
6
7 class TObject;
8
9 /*
10 * Gaudi namespace declaration
11 */
12 namespace Gaudi {
13
22 class GAUDI_API HistogramBase {
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
Kernel.h
Gaudi::HistogramBase
Common base class for all histograms Use is solely functional to minimize dynamic_casts inside Histog...
Definition: HistogramBase.h:22
gaudirun.s
string s
Definition: gaudirun.py:316
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
std::ostream
STL class.
Gaudi
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1