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.
Inherits from
| Base class | Responsibility |
|---|---|
Message<SuccessPrefix>publicFull typeMessage< SuccessPrefix > | Forward declaration of the Message template class. |
Inherited interface
| Declared in | Members |
|---|---|
Message |
Public types
- using Parent = Message<SuccessPrefix>
- Parent class type alias.
Constructors, destructors, conversion operators
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. |