5#ifndef TRIGCONFBASE_MSGSTREAM_H
6#define TRIGCONFBASE_MSGSTREAM_H 1
73 if (
m_active) *
static_cast<std::ostringstream*
>(
this) << t;
114 if (s.isActive()) s.doOutput();
MsgStreamTC class to be used in TrigConf equivalent to Gaudi's MsgStream.
bool isActive()
Is the stream active?
MSGTC::Level m_level
stream level
std::string m_name
stream name
MSGTC::Level m_msgLevel
current message level
void setLevel(MSGTC::Level lvl)
Set message level of stream.
unsigned int m_width
width for printing owner name
MsgStreamTC & operator<<(MSGTC::Level lvl)
Output operator for message levels.
MsgStreamTC(const std::string &name)
void setName(const std::string &name)
set the name if you want to change the message stream name
MSGTC::Level level()
Return message level of stream.
void doOutput()
Print the current message buffer.
void setWidth(unsigned int width)
bool m_active
stream active?
Messsage levels matching the Gaudi definition.
Forward iterator to traverse the main components of the trigger configuration.
MsgStreamTC & endmsgtc(MsgStreamTC &s)
End of message.