| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 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 182 of file Print.cpp.

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

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