Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Message.cpp File Reference
#include "GaudiKernel/Message.h"
#include "GaudiKernel/IMessageSvc.h"
#include "GaudiKernel/ThreadLocalContext.h"
#include "GaudiKernel/Time.h"
#include "GaudiKernel/Timing.h"
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <string>
Include dependency graph for Message.cpp:

Go to the source code of this file.

Macros

#define SET(x)
 

Functions

std::ostreamoperator<< (std::ostream &stream, const Message &msg)
 Insert the message into a stream. More...
 
bool operator== (const Message &a, const Message &b)
 Insert the message into a stream. More...
 

Macro Definition Documentation

#define SET (   x)
Value:
case x: \
level = #x; \
break

Function Documentation

std::ostream& operator<< ( std::ostream stream,
const Message msg 
)

Insert the message into a stream.

Definition at line 94 of file Message.cpp.

94  {
95  msg.makeFormattedMsg( msg.m_format );
96  stream << msg.m_formatted_msg;
97  return stream;
98 }
std::string m_formatted_msg
Formatted message.
Definition: Message.h:97
std::string m_format
The format string.
Definition: Message.h:95
void makeFormattedMsg(const std::string &format) const
Format the message.
Definition: Message.cpp:184
bool operator== ( const Message a,
const Message b 
)

Insert the message into a stream.

Definition at line 116 of file Message.cpp.

116  {
117  return a.m_source == b.m_source && a.m_type == b.m_type && a.m_message == b.m_message;
118 }
std::string m_message
The message text.
Definition: Message.h:92
std::string m_source
The message source.
Definition: Message.h:93
int m_type
The message type/level.
Definition: Message.h:94