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

identifier_ctr.hpp
Go to the documentation of this file.
1 
9 #ifndef EAGINE_IDENTIFIER_CTR_HPP
10 #define EAGINE_IDENTIFIER_CTR_HPP
11 
12 #include "identifier.hpp"
13 #include "types.hpp"
14 
15 namespace eagine {
16 //------------------------------------------------------------------------------
22 auto byte_to_identifier(byte b) noexcept -> identifier;
23 
29 auto dec_to_identifier(int i) noexcept -> identifier;
30 //------------------------------------------------------------------------------
31 } // namespace eagine
32 
33 #if !EAGINE_LINK_LIBRARY || defined(EAGINE_IMPLEMENTING_LIBRARY)
34 #include <eagine/identifier_ctr.inl>
35 #endif
36 
37 #endif // EAGINE_IDENTIFIER_CTR_HPP
Common code is placed in this namespace.
Definition: eagine.hpp:21
auto byte_to_identifier(byte b) noexcept -> identifier
Creates an identifier representing a byte value as a hex string.
basic_identifier< 10, 6, default_identifier_char_set, identifier_t > identifier
Default identifier type used throughout the project.
Definition: identifier.hpp:346
auto dec_to_identifier(int i) noexcept -> identifier
Creates an identifier representing an integer value as a decimal string.

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