ROSE  0.9.10.103
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 395 of file Message.h.

#include <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 407 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 408 of file Message.h.


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