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

In This Package:

MsgStream.h File Reference

#include "GaudiKernel/IMessageSvc.h"
#include "GaudiKernel/SerializeSTL.h"
#include <cstdio>
#include <string>
#include <iomanip>
#include <vector>
#include <sstream>

Include dependency graph for MsgStream.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  MsgStream
 Definition of the MsgStream class used to transmit messages. More...

Functions

MsgStreamendreq (MsgStream &s)
 MsgStream Modifier: endreq. Calls the output method of the MsgStream.
MsgStreamendmsg (MsgStream &s)
 MsgStream Modifier: endreq. Calls the output method of the MsgStream.
std::string format (const char *,...)
 MsgStream format utility "a la sprintf(...)".
template<class _Tm>
MsgStreamoperator<< (MsgStream &s, const std::smanip< _Tm > &manip)
 I/O Manipulator for setfill.
template<typename T>
MsgStreamoperator<< (MsgStream &lhs, const T &arg)
 General templated stream operator.

Function Documentation

MsgStream& endreq ( MsgStream s  )  [inline]

MsgStream Modifier: endreq. Calls the output method of the MsgStream.

Definition at line 223 of file MsgStream.h.

00223                                          {
00224   return s.doOutput();
00225 }

MsgStream& endmsg ( MsgStream s  )  [inline]

MsgStream Modifier: endreq. Calls the output method of the MsgStream.

Definition at line 227 of file MsgStream.h.

00227                                          {
00228   return s.doOutput();
00229 }

std::string format ( const char *  ,
  ... 
)

MsgStream format utility "a la sprintf(...)".

template<class _Tm>
MsgStream& operator<< ( MsgStream s,
const std::smanip< _Tm > &  manip 
) [inline]

I/O Manipulator for setfill.

Definition at line 296 of file MsgStream.h.

00296                                                                     {
00297   if ( s.isActive() ) s.stream() << manip;
00298   return s;
00299 }

template<typename T>
MsgStream& operator<< ( MsgStream lhs,
const T &  arg 
)

General templated stream operator.

Definition at line 304 of file MsgStream.h.

00304                                                       {
00305   using namespace GaudiUtils;
00306   if(lhs.isActive()) lhs.stream() << arg;
00307   return lhs;
00308 }

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

Generated on Mon Apr 11 19:57:02 2011 for GaudiKernel by doxygen 1.4.7