Gaudi Framework, version v21r9

Home   Generated: 3 May 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:

Generated at Mon May 3 12:28:48 2010 for Gaudi Framework, version v21r9 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004