| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

# GaudiAlg::PrintTuple Class Reference

collection of useful utilities to print INTuple object (currently used for implementation of class GaudiTupleAlg and class GaudiTupleTool) More...

`#include <GaudiAlg/Print.h>`

List of all members.

## Static Public Member Functions
static std::string | print (const INTuple *tuple, const GaudiAlg::TupleID &ID)
static std::string | print (const INTuple *tuple)

## Detailed Description

collection of useful utilities to print INTuple object (currently used for implementation of class GaudiTupleAlg and class GaudiTupleTool)

See also:
  INTuple

Author:
  Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr

Date:
  2005-08-04

Definition at line 173 of file Print.h.

## Member Function Documentation

std::string GaudiAlg::PrintTuple::print | ( | const INTuple * | tuple,
|  | const GaudiAlg::TupleID & | ID |
| ) |  |  | `[static]`

Definition at line 177 of file Print.cpp.

    00179 {
    00180   boost::format fmt ( " ID=%|-12|%|18t|%|-s|") ;
    00181   fmt % ID.idAsString() % print ( tuple ) ;
    00182   return fmt.str() ;
    00183 }

std::string GaudiAlg::PrintTuple::print | ( | const INTuple * | tuple | ) | `[static]`

Definition at line 206 of file Print.cpp.

    00207 {
    00208   boost::format fmt
    00209     ( "Title=\"%|.39s|\" %|48t|#items=%|-3|%|50t|{%|.81s|}" ) ;
    00210   fmt % tuple->title() ;
    00211   fmt % tuple->items().size() ;
    00212   fmt % _print( tuple->items() ) ;
    00213   return fmt.str() ;
    00214 }

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

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