Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GaudiAlg::Print Class Reference

collection of useful utilities to print IHistogram1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool) More...

#include <GaudiAlg/Print.h>

Static Public Member Functions

static const std::stringlocation (const AIDA::IHistogram *aida)
 

Detailed Description

collection of useful utilities to print IHistogram1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool)

See also
AIDA::IHistogram
Author
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@l.nosp@m.app..nosp@m.in2p3.nosp@m..fr
Date
2005-08-04

Definition at line 50 of file Print.h.

Member Function Documentation

const std::string & GaudiAlg::Print::location ( const AIDA::IHistogram *  aida)
static

Definition at line 49 of file Print.cpp.

49  {
50  if ( !aida ) { return s_invalidLocation; }
51  const DataObject* object = dynamic_cast<const DataObject*>( aida );
52  if ( !object ) { return s_invalidLocation; }
53  IRegistry* registry = object->registry();
54  if ( !registry ) { return s_invalidLocation; }
55  return registry->identifier();
56 }
virtual const id_type & identifier() const =0
Full identifier (or key)
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30

The documentation for this class was generated from the following files: