Rosetta
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
detail::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 operator const Char * () const FMT_NOEXCEPT
 
FMT_CONSTEXPR const Char * begin () const FMT_NOEXCEPT
 
FMT_CONSTEXPR const Char * end () 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]
 

Constructor & Destructor Documentation

◆ ansi_color_escape() [1/2]

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

◆ ansi_color_escape() [2/2]

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

Member Function Documentation

◆ begin()

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

◆ end()

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

◆ operator const Char *()

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

◆ to_esc()

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

Member Data Documentation

◆ buffer

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

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