#include "genesis/utils/text/style.hpp"
#include "genesis/utils/text/string.hpp"
#include <algorithm>
#include <cassert>
#include <ostream>
#include <stdexcept>
#include <vector>
Go to the source code of this file.
|
| genesis |
| Container namespace for all symbols of genesis in order to keep them separate when used as a library.
|
|
| genesis::utils |
|
|
static std::string | get_attribute_string_ (Style const &s) |
| Internal helper function that returns the attribute string of a Style based on its properties. More...
|
|
static std::array< std::pair< std::string, std::string >, 17 >::const_iterator | get_background_color_iterator (std::string name) |
| Internal helper function that returns an iterator into the background color list. More...
|
|
static std::array< std::pair< std::string, std::string >, 17 >::const_iterator | get_foreground_color_iterator (std::string name) |
| Internal helper function that returns an iterator into the foreground color list. More...
|
|
std::ostream & | operator<< (std::ostream &out, Style const &style) |
| Print the properties of a Style object to a stream. More...
|
|