| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# Message.h File Reference

`#include <string>`
`#include <iostream>`

Include dependency graph for Message.h:

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

Go to the source code of this file.

## Classes
class | Message
| The Message class. More...
## Functions
GAUDI_API std::ostream & | operator<< (std::ostream &stream, const Message &msg)
| Insert the message into a stream.
GAUDI_API bool | operator== (const Message &a, const Message &b)
| Insert the message into a stream.

## Function Documentation

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

Insert the message into a stream.

Definition at line 149 of file Message.cpp.

    00150 {
    00151   msg.makeFormattedMsg( msg.m_format );
    00152   stream << msg.m_formatted_msg;
    00153   return stream;
    00154 }

GAUDI_API bool operator== | ( | const Message & | a,
|  | const Message & | b |
| ) |  |  |

Insert the message into a stream.

Definition at line 175 of file Message.cpp.

    00176 {
    00177   return a.m_source == b.m_source &&
    00178     a.m_type == b.m_type &&
    00179     a.m_message == b.m_message;
    00180 }