Livox SDK API  V2.2.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

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

Definition at line 267 of file color.h.

Member Function Documentation

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

Definition at line 341 of file color.h.

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

Definition at line 345 of file color.h.

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

Definition at line 337 of file color.h.

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

Definition at line 331 of file color.h.

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

Definition at line 334 of file color.h.

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

Definition at line 328 of file color.h.

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

Definition at line 299 of file color.h.

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

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

Definition at line 381 of file color.h.

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

Definition at line 377 of file color.h.

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

Definition at line 324 of file color.h.

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: