Rodin::Alert::Success class

Success message class with formatted output.

A specialized message class for displaying success notifications with green-colored formatting. Success messages indicate successful completion of operations and are typically used for user feedback and logging.

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

Base classes

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

Public types

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

Constructors, destructors, conversion operators

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

Function documentation

Rodin::Alert::Success::Success()

Constructs a Success alert with an empty message.

Creates a success message that outputs to std::cout by default.

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

Constructs a Success alert with a specific output stream.

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

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

Copy constructor.

Parameters
other The Success object to copy from.

Rodin::Alert::Success::Success(Success&& other)

Move constructor.

Parameters
other The Success object to move from.