| # Gaudi Framework, version v22r0 |

Home |  | Generated: 9 Feb 2011

# 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>`

List of all members.

## Static Public Member Functions
static const std::string & | location (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.Belyaev@lapp.in2p3.fr

Date:
  2005-08-04

Definition at line 54 of file Print.h.

## Member Function Documentation

const std::string & GaudiAlg::Print::location | ( | const AIDA::IHistogram * | aida | ) | `[static]`

Definition at line 60 of file Print.cpp.

    00061 {
    00062   if ( 0 == aida     ) { return s_invalidLocation ; }
    00063   const DataObject* object   = dynamic_cast<const DataObject*>( aida ) ;
    00064   if ( 0 == object   ) { return s_invalidLocation ; }
    00065   IRegistry*        registry = object->registry() ;
    00066   if ( 0 == registry ) { return s_invalidLocation ; }
    00067   return registry->identifier() ;
    00068 }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r0/GaudiAlg/GaudiAlg/Print.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r0/GaudiAlg/src/lib/Print.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines