OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::identifier_encoding< CharSet > Class Template Reference

Helper class implementing identifier encoding functionality. More...

#include <eagine/identifier.hpp>

Static Public Member Functions

static constexpr auto encode (const char c) noexcept -> std::uint8_t
 Encoded the specified character as N-bit byte.
 
static constexpr auto decode (const std::uint8_t i) noexcept -> char
 Encoded the specified N-bit byte as character.
 
static constexpr auto invalid () noexcept
 Returns the invalid value from the encoding.
 
static constexpr auto invalid (const std::uint8_t c) noexcept
 Indicates if the encoded value is invalid.
 
static auto chars () -> string_view
 Returns the valid character set as a string_view.
 

Detailed Description

template<typename CharSet>
class eagine::identifier_encoding< CharSet >

Helper class implementing identifier encoding functionality.

See also
identifier
Note
Do not use directly.

The documentation for this class was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).