Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
ansi_color_escape< Char > Struct Template Reference

#include <color.h>

Public Member Functions

FMT_CONSTEXPR ansi_color_escape (detail::color_type text_color, const char *esc) FMT_NOEXCEPT
 
FMT_CONSTEXPR ansi_color_escape (emphasis em) FMT_NOEXCEPT
 
FMT_CONSTEXPR const Char * begin () const FMT_NOEXCEPT
 
FMT_CONSTEXPR_CHAR_TRAITS const Char * end () const FMT_NOEXCEPT
 
FMT_CONSTEXPR operator const Char * () const FMT_NOEXCEPT
 

Static Private Member Functions

static FMT_CONSTEXPR void to_esc (uint8_t c, Char *out, char delimiter) FMT_NOEXCEPT
 

Private Attributes

Char buffer [7u+3u *4u+1u]
 

Detailed Description

template<typename Char>
struct ansi_color_escape< Char >

Definition at line 374 of file color.h.

Constructor & Destructor Documentation

◆ ansi_color_escape() [1/2]

template<typename Char>
FMT_CONSTEXPR ansi_color_escape< Char >::ansi_color_escape ( detail::color_type  text_color,
const char *  esc 
)
inline

Definition at line 375 of file color.h.

◆ ansi_color_escape() [2/2]

template<typename Char>
FMT_CONSTEXPR ansi_color_escape< Char >::ansi_color_escape ( emphasis  em)
inline

Definition at line 411 of file color.h.

Member Function Documentation

◆ begin()

template<typename Char>
FMT_CONSTEXPR const Char* ansi_color_escape< Char >::begin ( ) const
inline

Definition at line 432 of file color.h.

◆ end()

template<typename Char>
FMT_CONSTEXPR_CHAR_TRAITS const Char* ansi_color_escape< Char >::end ( ) const
inline

Definition at line 433 of file color.h.

◆ operator const Char *()

template<typename Char>
FMT_CONSTEXPR ansi_color_escape< Char >::operator const Char * ( ) const
inline

Definition at line 430 of file color.h.

◆ to_esc()

template<typename Char>
static FMT_CONSTEXPR void ansi_color_escape< Char >::to_esc ( uint8_t  c,
Char *  out,
char  delimiter 
)
inlinestaticprivate

Definition at line 440 of file color.h.

Member Data Documentation

◆ buffer

template<typename Char>
Char ansi_color_escape< Char >::buffer[7u+3u *4u+1u]
private

Definition at line 438 of file color.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:54