Info

Informational message class with formatted output.

Defined in Rodin/Alert/Info.h

class Info;

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.

Direct inheritance by class family
↓
Info

Inherits from

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

Inherited interface

Declared inMembers
Message
6 members

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

Info()

Constructs an Info alert with an empty message.

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

Info(std::ostream& os)

Constructs an Info alert with a specific output stream.

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

Info(const Info& other)

Copy constructor.

Parameters
other The Info object to copy from.

Info(Info&& other)

Move constructor.

Parameters
other The Info object to move from.