Rodin::Alert::Info class

Informational message class with formatted output.

A specialized message class for displaying informational content with blue-colored formatting. Unlike exceptions, info messages do not terminate the program and are typically used for logging and user notifications.

The Info class provides stream-like insertion operators for building detailed informational messages with formatting capabilities.

Base classes

template<class Prefix>
class Message<InfoPrefix>
Base class for objects which represents output messages.

Public types

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

Constructors, destructors, conversion operators

Info()
Constructs an Info alert with an empty message.
Info(std::ostream& os)
Constructs an Info alert with a specific output stream.
Info(const Info& other)
Copy constructor.
Info(Info&& other)
Move constructor.

Function documentation

Rodin::Alert::Info::Info()

Constructs an Info alert with an empty message.

Creates an informational message that outputs to std::cout by default.

Rodin::Alert::Info::Info(std::ostream& os)

Constructs an Info alert with a specific output stream.

Parameters
os The output stream to write the informational message to.

Rodin::Alert::Info::Info(const Info& other)

Copy constructor.

Parameters
other The Info object to copy from.

Rodin::Alert::Info::Info(Info&& other)

Move constructor.

Parameters
other The Info object to move from.