Livox SDK API  V1.1.0
fmt::v5::text_style Class Reference

#include <color.h>

Public Member Functions

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

Friends

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

Detailed Description

Definition at line 265 of file color.h.

Constructor & Destructor Documentation

◆ text_style()

fmt::v5::text_style::text_style ( emphasis  em = emphasis())
throw (
)
inline

Definition at line 267 of file color.h.

Member Function Documentation

◆ get_background()

internal::color_type fmt::v5::text_style::get_background ( ) const
throw (
)
inline

Definition at line 341 of file color.h.

◆ get_emphasis()

emphasis fmt::v5::text_style::get_emphasis ( ) const
throw (
)
inline

Definition at line 345 of file color.h.

◆ get_foreground()

internal::color_type fmt::v5::text_style::get_foreground ( ) const
throw (
)
inline

Definition at line 337 of file color.h.

◆ has_background()

bool fmt::v5::text_style::has_background ( ) const
throw (
)
inline

Definition at line 331 of file color.h.

◆ has_emphasis()

bool fmt::v5::text_style::has_emphasis ( ) const
throw (
)
inline

Definition at line 334 of file color.h.

◆ has_foreground()

bool fmt::v5::text_style::has_foreground ( ) const
throw (
)
inline

Definition at line 328 of file color.h.

◆ operator&=()

text_style& fmt::v5::text_style::operator&= ( const text_style rhs)
inline

Definition at line 299 of file color.h.

◆ operator|=()

text_style& fmt::v5::text_style::operator|= ( const text_style rhs)
inline

Definition at line 270 of file color.h.

Friends And Related Function Documentation

◆ bg

text_style bg ( internal::color_type  background)
throw (
)
friend

Definition at line 381 of file color.h.

◆ fg

text_style fg ( internal::color_type  foreground)
throw (
)
friend

Definition at line 377 of file color.h.

◆ operator &

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

Definition at line 324 of file color.h.

◆ operator|

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: