| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

# Print.cpp File Reference

Implementation file for functions for namespace GaudiAlg::Print. More...

`#include <ctype.h>`
`#include <string>`
`#include <vector>`
`#include <functional>`
`#include "AIDA/IHistogram1D.h"`
`#include "AIDA/IHistogram2D.h"`
`#include "AIDA/IHistogram3D.h"`
`#include "AIDA/IProfile1D.h"`
`#include "AIDA/IProfile2D.h"`
`#include "GaudiKernel/DataObject.h"`
`#include "GaudiKernel/IRegistry.h"`
`#include "GaudiKernel/StatEntity.h"`
`#include "GaudiKernel/INTuple.h"`
`#include "GaudiAlg/HistoID.h"`
`#include "GaudiAlg/Print.h"`
`#include "boost/format.hpp"`
`#include "boost/lexical_cast.hpp"`

Include dependency graph for Print.cpp:

Go to the source code of this file.

## Functions
std::string | _print (const INTuple::ItemContainer &items)
## Variables
static const std::string | s_invalidLocation = "<UNKNOWN LOCATION>"
| local constant to indicate "invalid location"

## Detailed Description

Implementation file for functions for namespace GaudiAlg::Print.

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

Date:
  2005-08-05

Definition in file Print.cpp.

## Function Documentation

std::string @82::_print | ( | const INTuple::ItemContainer & | items | ) | `[static]`

Definition at line 187 of file Print.cpp.

    00188   {
    00189     std::string str ;
    00190     for ( INTuple::ItemContainer::const_iterator iitem = items.begin() ;
    00191           items.end() != iitem ; ++iitem )
    00192     {
    00193       if ( items.begin() != iitem ) { str +="," ; }
    00194       const INTupleItem* item = *iitem ;
    00195       if ( 0 == item ) { continue ; }
    00196       str += item->name() ;
    00197       if ( 0 != item->ndim() )
    00198       { str += '[' + boost::lexical_cast<std::string>( item->ndim() ) + ']'; }
    00199       if ( item->hasIndex() ) { str += "/V" ; }
    00200     }
    00201     return str ;
    00202   }

## Variable Documentation

const std::string s_invalidLocation = "<UNKNOWN LOCATION>"`[static]`

local constant to indicate "invalid location"

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

Date:
  2005-08-05

Definition at line 56 of file Print.cpp.