HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions | Variables
text_phrasing.hpp File Reference

The text_phrasing type. More...

#include "../utility/module.hpp"
#include <cstdint>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  v1
 DOXYGEN BUG.
 

Enumerations

enum class  v1::text_phrasing : uint8_t {
  v1::text_phrasing::regular = 0 , v1::text_phrasing::emphesis = 1 , v1::text_phrasing::strong = 2 , v1::text_phrasing::code = 3 ,
  v1::text_phrasing::abbreviation = 4 , v1::text_phrasing::quote = 5 , v1::text_phrasing::keyboard = 6 , v1::text_phrasing::highlight = 7 ,
  v1::text_phrasing::math = 8 , v1::text_phrasing::example = 9 , v1::text_phrasing::unarticulated = 10 , v1::text_phrasing::title = 11 ,
  v1::text_phrasing::success = 12 , v1::text_phrasing::warning = 13 , v1::text_phrasing::error = 14
}
 Text phrasing. More...
 
enum class  text_phrasing_mask : uint16_t {
  regular = 1 << to_underlying(text_phrasing::regular) , emphesis = 1 << to_underlying(text_phrasing::emphesis) , strong = 1 << to_underlying(text_phrasing::strong) , code = 1 << to_underlying(text_phrasing::code) ,
  abbreviation = 1 << to_underlying(text_phrasing::abbreviation) , quote = 1 << to_underlying(text_phrasing::quote) , keyboard = 1 << to_underlying(text_phrasing::keyboard) , highlight = 1 << to_underlying(text_phrasing::highlight) ,
  math = 1 << to_underlying(text_phrasing::math) , example = 1 << to_underlying(text_phrasing::example) , unarticulated = 1 << to_underlying(text_phrasing::unarticulated) , title = 1 << to_underlying(text_phrasing::title) ,
  success = 1 << to_underlying(text_phrasing::success) , warning = 1 << to_underlying(text_phrasing::warning) , error = 1 << to_underlying(text_phrasing::error) , all
}
 

Functions

constexpr std::optional< text_phrasingv1::to_text_phrasing (char c)
 
constexpr text_phrasing_mask v1::operator& (text_phrasing_mask const &lhs, text_phrasing_mask const &rhs) noexcept
 
constexpr text_phrasing_mask v1::operator| (text_phrasing_mask const &lhs, text_phrasing_mask const &rhs) noexcept
 
constexpr text_phrasing_mask v1::to_text_phrasing_mask (text_phrasing const &rhs) noexcept
 
constexpr text_phrasing_mask v1::to_text_phrasing_mask (std::string const &str)
 
constexpr bool v1::all (text_phrasing_mask const &rhs) noexcept
 
constexpr bool v1::to_bool (text_phrasing_mask const &rhs) noexcept
 
constexpr bool v1::matches (text_phrasing_mask const &lhs, text_phrasing const &rhs) noexcept
 Check if the text-phrasing is included in the text-phrasing-mask.
 

Variables

constexpr auto v1::text_phrasing_metadata
 

Detailed Description

The text_phrasing type.