The Gaudi Framework  v36r1 (3e2fb5a8)
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)
 
bool operator< (const Message &lhs, const Message &rhs)
 
bool operator== (const Message &a, const Message &b)
 

Macro Definition Documentation

◆ SET

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

Function Documentation

◆ operator<()

bool operator< ( const Message lhs,
const Message rhs 
)

Definition at line 116 of file Message.cpp.

116  {
117  return lhs.m_type < rhs.m_type || lhs.m_source < rhs.m_source || lhs.m_message < rhs.m_message;
118 }

◆ operator<<()

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

Definition at line 104 of file Message.cpp.

104  {
105  msg.makeFormattedMsg( msg.m_format );
106  stream << msg.m_formatted_msg;
107  return stream;
108 }

◆ operator==()

bool operator== ( const Message a,
const Message b 
)

Definition at line 126 of file Message.cpp.

126  {
127  return a.m_source == b.m_source && a.m_type == b.m_type && a.m_message == b.m_message;
128 }
Write.stream
stream
Definition: Write.py:31
GaudiMP.FdsRegistry.msg
msg
Definition: FdsRegistry.py:18
Message::m_type
int m_type
The message type/level.
Definition: Message.h:104
Message::m_message
std::string m_message
The message text.
Definition: Message.h:102
Message::m_source
std::string m_source
The message source.
Definition: Message.h:103