ROSE  0.11.145.0
Static Public Member Functions | List of all members
Sawyer::Message::ColorSet Class Reference

Description

Colors to use for each message importance.

Thread safety: This object uses no global state but is otherwise not thread safe.

Definition at line 397 of file Message.h.

#include <util/Sawyer/Message.h>

Public Member Functions

const ColorSpecoperator[] (Importance imp) const
 Colors for a message. More...
 
ColorSpecoperator[] (Importance imp)
 Colors for a message. More...
 

Static Public Member Functions

static ColorSet blackAndWhite ()
 Returns a color set that uses only default colors. More...
 
static ColorSet fullColor ()
 Returns a color set that uses various foreground colors for the different message importance levels. More...
 

Member Function Documentation

static ColorSet Sawyer::Message::ColorSet::blackAndWhite ( )
static

Returns a color set that uses only default colors.

Warning, error, and fatal messages will use the bold attribute, but no colors are employed.

static ColorSet Sawyer::Message::ColorSet::fullColor ( )
static

Returns a color set that uses various foreground colors for the different message importance levels.

Referenced by Sawyer::Message::Prefix::Prefix().

const ColorSpec& Sawyer::Message::ColorSet::operator[] ( Importance  imp) const
inline

Colors for a message.

Returns a reference to the color specification for a particular message importance.

Definition at line 409 of file Message.h.

ColorSpec& Sawyer::Message::ColorSet::operator[] ( Importance  imp)
inline

Colors for a message.

Returns a reference to the color specification for a particular message importance.

Definition at line 410 of file Message.h.


The documentation for this class was generated from the following file: