| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# 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 55 of file Print.cpp.

    00056 {
    00057   if ( 0 == aida     ) { return s_invalidLocation ; }
    00058   const DataObject* object   = dynamic_cast<const DataObject*>( aida ) ;
    00059   if ( 0 == object   ) { return s_invalidLocation ; }
    00060   IRegistry*        registry = object->registry() ;
    00061   if ( 0 == registry ) { return s_invalidLocation ; }
    00062   return registry->identifier() ;
    00063 }

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

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