WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
text_style Class Reference

#include <color.h>

Public Member Functions

FMT_CONSTEXPR text_style (emphasis em=emphasis()) FMT_NOEXCEPT
 
FMT_CONSTEXPR text_styleoperator|= (const text_style &rhs)
 
FMT_CONSTEXPR text_styleoperator &= (const text_style &rhs)
 
FMT_CONSTEXPR bool has_foreground () const FMT_NOEXCEPT
 
FMT_CONSTEXPR bool has_background () const FMT_NOEXCEPT
 
FMT_CONSTEXPR bool has_emphasis () const FMT_NOEXCEPT
 
FMT_CONSTEXPR internal::color_type get_foreground () const FMT_NOEXCEPT
 
FMT_CONSTEXPR internal::color_type get_background () const FMT_NOEXCEPT
 
FMT_CONSTEXPR emphasis get_emphasis () const FMT_NOEXCEPT
 

Friends

FMT_CONSTEXPR text_style operator| (text_style lhs, const text_style &rhs)
 
FMT_CONSTEXPR text_style operator & (text_style lhs, const text_style &rhs)
 
FMT_CONSTEXPR_DECL text_style fg (internal::color_type foreground) FMT_NOEXCEPT
 
FMT_CONSTEXPR_DECL text_style bg (internal::color_type background) FMT_NOEXCEPT
 

Detailed Description

Definition at line 265 of file color.h.

Constructor & Destructor Documentation

◆ text_style()

FMT_CONSTEXPR text_style::text_style ( emphasis  em = emphasis())
inline

Definition at line 267 of file color.h.

Member Function Documentation

◆ get_background()

FMT_CONSTEXPR internal::color_type text_style::get_background ( ) const
inline

Definition at line 341 of file color.h.

Here is the caller graph for this function:

◆ get_emphasis()

FMT_CONSTEXPR emphasis text_style::get_emphasis ( ) const
inline

Definition at line 345 of file color.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_foreground()

FMT_CONSTEXPR internal::color_type text_style::get_foreground ( ) const
inline

Definition at line 337 of file color.h.

Here is the caller graph for this function:

◆ has_background()

FMT_CONSTEXPR bool text_style::has_background ( ) const
inline

Definition at line 331 of file color.h.

Here is the caller graph for this function:

◆ has_emphasis()

FMT_CONSTEXPR bool text_style::has_emphasis ( ) const
inline

Definition at line 334 of file color.h.

Here is the caller graph for this function:

◆ has_foreground()

FMT_CONSTEXPR bool text_style::has_foreground ( ) const
inline

Definition at line 328 of file color.h.

Here is the caller graph for this function:

◆ operator &=()

FMT_CONSTEXPR text_style& text_style::operator&= ( const text_style rhs)
inline

Definition at line 299 of file color.h.

◆ operator|=()

FMT_CONSTEXPR text_style& text_style::operator|= ( const text_style rhs)
inline

Definition at line 270 of file color.h.

Friends And Related Function Documentation

◆ bg

Definition at line 381 of file color.h.

◆ fg

Definition at line 377 of file color.h.

◆ operator &

FMT_CONSTEXPR text_style operator& ( text_style  lhs,
const text_style rhs 
)
friend

Definition at line 324 of file color.h.

◆ operator|

FMT_CONSTEXPR text_style operator| ( text_style  lhs,
const text_style rhs 
)
friend

Definition at line 295 of file color.h.


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