Leosac  0.8.0
Open Source Access Control
Leosac::Colorize Namespace Reference

A collection of function to colorize / format text. More...

Namespaces

 detail
 Implementation namespace.
 

Functions

template<typename T >
std::string bold (const T &in)
 
template<typename T >
std::string underline (const T &in)
 
template<typename T >
std::string red (const T &in)
 
template<typename T >
std::string bright_red (const T &in)
 
template<typename T >
std::string green (const T &in)
 
template<typename T >
std::string bright_green (const T &in)
 
template<typename T >
std::string cyan (const T &in)
 
template<typename T >
std::string bright_cyan (const T &in)
 

Detailed Description

A collection of function to colorize / format text.

Function Documentation

◆ bold()

template<typename T >
std::string Leosac::Colorize::bold ( const T &  in)

Definition at line 58 of file Colorize.hpp.

◆ bright_cyan()

template<typename T >
std::string Leosac::Colorize::bright_cyan ( const T &  in)

Definition at line 100 of file Colorize.hpp.

◆ bright_green()

template<typename T >
std::string Leosac::Colorize::bright_green ( const T &  in)

Definition at line 88 of file Colorize.hpp.

◆ bright_red()

template<typename T >
std::string Leosac::Colorize::bright_red ( const T &  in)

Definition at line 76 of file Colorize.hpp.

◆ cyan()

template<typename T >
std::string Leosac::Colorize::cyan ( const T &  in)

Definition at line 94 of file Colorize.hpp.

◆ green()

template<typename T >
std::string Leosac::Colorize::green ( const T &  in)

Definition at line 82 of file Colorize.hpp.

◆ red()

template<typename T >
std::string Leosac::Colorize::red ( const T &  in)

Definition at line 70 of file Colorize.hpp.

◆ underline()

template<typename T >
std::string Leosac::Colorize::underline ( const T &  in)

Definition at line 64 of file Colorize.hpp.