Public Member Functions | Public Attributes | List of all members
Rose::Color::Colorization Struct Reference


Control colored command output.

Definition at line 40 of file Color.h.

#include <Rose/Color.h>

Collaboration diagram for Rose::Color::Colorization:
Collaboration graph

Public Member Functions

bool isEnabled () const
 True if color is enabled in this situation. More...
Colorization merge (const Colorization &) const
 Merge this color and another to produce a result. More...

Public Attributes

Sawyer::Optional< Enabled::Flagenabled
 Whether colored output is enabled. More...
Sawyer::Optional< Theme::Flagtheme
 The color theme. More...

Member Function Documentation

bool Rose::Color::Colorization::isEnabled ( ) const

True if color is enabled in this situation.

Colorization Rose::Color::Colorization::merge ( const Colorization ) const

Merge this color and another to produce a result.

Member Data Documentation

Sawyer::Optional<Enabled::Flag> Rose::Color::Colorization::enabled

Whether colored output is enabled.

Definition at line 41 of file Color.h.

Sawyer::Optional<Theme::Flag> Rose::Color::Colorization::theme

The color theme.

Definition at line 42 of file Color.h.

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