PrefixedMessage

Convenience message for custom Alert prefixes.

Defined in Rodin/Alert/Message.h

template <
  class Prefix>
class PrefixedMessage;
Template parameters
Prefix Prefix type derived from MessagePrefix.

This class mirrors the default behavior of specialized messages such as Info, while allowing callers to provide their own prefix type and color.

Direct inheritance by class family
↓
PrefixedMessage

Inherits from

Base classResponsibility
Message<Prefix>public
Full type
Message< Prefix >
Forward declaration of the Message template class.

Inherited interface

Declared inMembers
Message
6 members

Public types

using Parent = Message<Prefix>
Parent class type alias.

Constructors, destructors, conversion operators

PrefixedMessage()
Constructs a message that writes to std::cout.
PrefixedMessage(std::ostream& os)
Constructs a message that writes to the given output stream.

Function documentation

PrefixedMessage(std::ostream& os)

Constructs a message that writes to the given output stream.

Parameters
os Output stream.