template<class Prefix>
Rodin::Alert::PrefixedMessage class

Convenience message for custom Alert prefixes.

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.

Base classes

template<class Prefix>
class Message<Prefix>
Forward declaration of the Message template class.

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

template<class Prefix>
Rodin::Alert::PrefixedMessage<Prefix>::PrefixedMessage(std::ostream& os)

Constructs a message that writes to the given output stream.

Parameters
os Output stream.