Gaudi Framework, version v21r8

Home   Generated: 17 Mar 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 172 of file Print.cpp.

00174 {
00175   boost::format fmt ( " ID=%|-12|%|18t|%|-s|") ;
00176   fmt % ID.idAsString() % print ( tuple ) ;
00177   return fmt.str() ;
00178 }

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

Definition at line 201 of file Print.cpp.

00202 {
00203   boost::format fmt
00204     ( "Title=\"%|.39s|\" %|48t|#items=%|-3|%|50t|{%|.81s|}" ) ;
00205   fmt % tuple->title() ;
00206   fmt % tuple->items().size() ;
00207   fmt % _print( tuple->items() ) ;
00208   return fmt.str() ;
00209 }


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

Generated at Wed Mar 17 18:21:41 2010 for Gaudi Framework, version v21r8 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004