osmanip
Library with useful output stream tools like: color and style manipulators, progress bars and terminal graphics.
Namespaces | Functions | Variables
colsty.cpp File Reference
#include <osmanip/manipulators/colsty.hpp>
#include <stdint.h>
#include <sstream>
#include <string>
#include <unordered_map>
Include dependency graph for colsty.cpp:

Namespaces

 osm
 

Functions

const std::string osm::RGB (int32_t r, int32_t g, int32_t b)
 It takes three integers as arguments which are the corresponding rgb triplets of a color (see here for the full list of available colors http://www.aksiom.net/rgb.html). It can be used to output a wider variety of colors with respect to the standard available from the col map. More...
 

Variables

const std::unordered_map< std::string, std::string > osm::col
 It is used to store the colors. Note: "bg" is the prefix of the background color features and "bd" is the one of the bold color features. More...
 
const std::unordered_map< std::string, std::string > osm::sty
 It is used to store the styles. More...
 
const std::unordered_map< std::string, std::string > osm::rst
 It is used to store the reset features commands. More...
 

Detailed Description

Author
Gianluca Bianco (bianc.nosp@m.ogia.nosp@m.nluca.nosp@m.9@gm.nosp@m.ail.c.nosp@m.om)
Date
2022-06-06