121  template <
class TYPE>
 
  122  std::string _toXml( 
const TYPE& 
object ) {
 
  123    std::ostringstream s;
 
  128  template <
class TYPE>
 
  129  StatusCode _fromXml( TYPE& 
object, 
const std::string& input ) {
 
  148  return _fromXml( result, input );
 
 
  151  return _fromXml( result, input );
 
 
  154  return _fromXml( result, input );
 
 
  157  return _fromXml( result, input );
 
 
  160  return _fromXml( result, input );
 
 
  164  return _fromXml( result, input );
 
 
  167  return _fromXml( result, input );
 
 
  170  return _fromXml( result, input );
 
 
  173  return _fromXml( result, input );
 
 
  176  return _fromXml( result, input );
 
 
static StatusCode fromString(TH1D &result, const std::string &input)
parse the histogram from string
 
static std::string toString(const TH1D &histo, const bool asXML=false)
convert the histogram into the string
 
static StatusCode fromXml(TH1D &result, const std::string &input)
 
static std::string toXml(const TH1D &histo)
 
This class is used for returning status codes from appropriate routines.
 
StatusCode parse(GaudiUtils::HashMap< K, V > &result, std::string_view input)
Basic parser for the types of HashMap used in DODBasicMapper.
 
GAUDI_API StatusCode fromXml(TH1D &result, std::string_view input)
parse the histogram from standard ROOT XML
 
GAUDI_API std::ostream & toXml(const TH1D &histo, std::ostream &stream)
stream the ROOT histogram into output stream as XML
 
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string