| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Static Public Member Functions | List of all members
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::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..nosp@m.Bely.nosp@m.aev@l.nosp@m.app..nosp@m.in2p3.nosp@m..fr

Date
  2005-08-04

Definition at line 52 of file Print.h.

## Member Function Documentation

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

Definition at line 50 of file Print.cpp.

51 {
52 if ( !aida ) {
53 return s_invalidLocation;
54 }
55 const DataObject* object = dynamic_cast<const DataObject*>( aida );
56 if ( !object ) {
57 return s_invalidLocation;
58 }
59 IRegistry* registry = object->registry();
60 if ( !registry ) {
61 return s_invalidLocation;
62 }
63 return registry->identifier();
64 }
IRegistry::identifier
virtual const id_type & identifier() const =0
Full identifier (or key)
IRegistry
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
GaudiPluginService.cpluginsvc.registry
def registry()
Definition: cpluginsvc.py:70
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:29

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

- GaudiAlg/GaudiAlg/Print.h
- GaudiAlg/src/lib/Print.cpp