1 #ifndef GAUDIPYTHON_PRINTER_H
2 #define GAUDIPYTHON_PRINTER_H 1
13 #include "GaudiKernel/ContainedObject.h"
14 #include "GaudiKernel/DataObject.h"
28 static std::string
print
29 (
const TYPE&
object )
31 std::stringstream stream ;
32 stream <<
object << std::endl ;
39 static std::string
print
42 std::ostringstream stream ;
43 object.fillStream( stream ) ;
52 std::ostringstream stream ;
60 #endif // GAUDIPYTHON_PRINTER_H
virtual std::ostream & fillStream(std::ostream &s) const
Fill the output stream (ASCII)
GaudiPython.h GaudiPython/GaudiPython.h.
All classes that their objects may be contained in an LHCb ObjectContainer (e.g.
static std::string print(const TYPE &object)
A DataObject is the base class of any identifiable object on any data store.