| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

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

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

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

Definition at line 202 of file Print.cpp.

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


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:58:22 2011 for GaudiAlg by doxygen 1.4.7