#include <einhard.hpp>
A stream modifier that allows to colorize the log output.
Definition at line 142 of file einhard.hpp.
Public Member Functions | |
EINHARD_ALWAYS_INLINE_ | Color () noexcept |
The default color modifier only affects the next object in the stream. More... | |
EINHARD_ALWAYS_INLINE_ Color< Parent > | operator~ () const noexcept |
With the ~ operator the color modifier affects the rest of the stream (or until another color object is used). More... | |
EINHARD_ALWAYS_INLINE_ char const * | ansiCode () const noexcept |
EINHARD_ALWAYS_INLINE_ bool | resetColor () const noexcept |
Private Member Functions | |
EINHARD_ALWAYS_INLINE_ | Color (bool r) noexcept |
Private Attributes | |
bool | reset |
|
inlinenoexcept |
The default color modifier only affects the next object in the stream.
Definition at line 146 of file einhard.hpp.
|
inlineprivatenoexcept |
Definition at line 165 of file einhard.hpp.
|
inlinenoexcept |
With the ~ operator the color modifier affects the rest of the stream (or until another color object is used).
Definition at line 151 of file einhard.hpp.
|
inlinenoexcept |
Definition at line 155 of file einhard.hpp.
|
inlinenoexcept |
Definition at line 159 of file einhard.hpp.
|
private |
Definition at line 168 of file einhard.hpp.