Success

Success message class with formatted output.

Defined in Rodin/Alert/Success.h

class Success;

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.

Direct inheritance by class family
↓
Success

Inherits from

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

Inherited interface

Declared inMembers
Message
6 members

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

Success()

Constructs a Success alert with an empty message.

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

Success(std::ostream& os)

Constructs a Success alert with a specific output stream.

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

Success(const Success& other)

Copy constructor.

Parameters
other The Success object to copy from.

Success(Success&& other)

Move constructor.

Parameters
other The Success object to move from.