Leosac  0.8.0
Open Source Access Control
Colorize.hpp File Reference
#include <sstream>
#include <string>
+ Include dependency graph for Colorize.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Leosac
 This is the header file for a generated source file, GitSHA1.cpp.
 
 Leosac::Colorize
 A collection of function to colorize / format text.
 
 Leosac::Colorize::detail
 Implementation namespace.
 

Functions

template<typename T >
std::string Leosac::Colorize::detail::format (const std::string &escape_code, const T &in)
 Return a string containing the escape code, a string representation of T and the clear escape string. More...
 
template<typename T >
std::string Leosac::Colorize::bold (const T &in)
 
template<typename T >
std::string Leosac::Colorize::underline (const T &in)
 
template<typename T >
std::string Leosac::Colorize::red (const T &in)
 
template<typename T >
std::string Leosac::Colorize::bright_red (const T &in)
 
template<typename T >
std::string Leosac::Colorize::green (const T &in)
 
template<typename T >
std::string Leosac::Colorize::bright_green (const T &in)
 
template<typename T >
std::string Leosac::Colorize::cyan (const T &in)
 
template<typename T >
std::string Leosac::Colorize::bright_cyan (const T &in)