3#include "terminalpp/attribute.hpp" 
    4#include "terminalpp/core.hpp" 
    5#include "terminalpp/glyph.hpp" 
    7#include <boost/container_hash/hash.hpp> 
   47        boost::hash_combine(
seed, 
elem.glyph_);
 
   48        boost::hash_combine(
seed, 
elem.attribute_);
 
 
 
   72#include "terminalpp/detail/element_udl.hpp" 
   75inline namespace literals {
 
   77inline constexpr element 
operator""_ete(
char const *text, std::size_t len)
 
   80    std::span data{text, len};
 
   81    return detail::parse_element(data, elem);
 
   90struct hash<terminalpp::element>
 
   93    using result_type = std::size_t;
 
   95    result_type operator()(
argument_type const &elem) 
const noexcept 
   97        return hash_value(elem);
 
 
A structure that carries around the presentation attributes of an ANSI element.
Definition attribute.hpp:17
 
A structure representing an ANSI graphics effect (e.g. intensity, underlining)
Definition effect.hpp:27
 
constexpr effect() noexcept
Initialises the intensity to the default (normal) value.
Definition effect.hpp:31
 
A structure that represents the fundamental printable element of a terminal screen,...
Definition element.hpp:20
 
constexpr friend auto operator<=>(element const &lhs, element const &rhs) noexcept=default
Relational operators for elements.
 
friend std::size_t hash_value(element const &elem) noexcept
Hash function.
Definition element.hpp:44
 
constexpr element(terminalpp::glyph gly={}, terminalpp::attribute attr={}) noexcept
Value Constructor.
Definition element.hpp:24
 
constexpr element(byte ch, terminalpp::attribute attr={}) noexcept
Char Constructor.
Definition element.hpp:34
 
A structure that carries around the character attributes of an ANSI element.
Definition glyph.hpp:19