IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
stringid.hxx File Reference
#include <ice/base.hxx>

Go to the source code of this file.

Classes

struct  ice::detail::stringid_type_v3::StringID_Hash
 Internal hash type representing the hashed string value. More...
struct  ice::detail::stringid_type_v3::StringID_DebugNameValue
union  ice::detail::stringid_type_v3::StringID_DebugInfo
struct  ice::BaseStringID< false >
struct  ice::BaseStringID< true >
struct  ice::StringID_Hash
 Internal hash type representing the hashed string value. More...

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.
namespace  ice::detail
namespace  ice::detail::stringid_type_v3

Typedefs

using ice::StringID
 \copy ice::BaseStringID.
using ice::StringID_Arg
 Argument type used to pass ice::StringID values to functions.
using ice::detail::stringid_type_v3::StringID_DebugNameHint = char[24]

Functions

constexpr auto ice::stringid (std::string_view value) noexcept
constexpr auto ice::stringid (const char *string, size_t size) noexcept
constexpr auto ice::stringid_hint (ice::BaseStringID< false > val) noexcept -> std::string_view
constexpr auto ice::stringid_hint (ice::BaseStringID< true > const &val) noexcept -> std::string_view
template<bool HasDebugInfo>
constexpr auto ice::stringid_hash (ice::BaseStringID< HasDebugInfo > val) noexcept -> ice::detail::stringid_type_v3::StringID_Hash
constexpr auto ice::hash (ice::StringID_Hash sid_hash) noexcept -> ice::u64
constexpr auto ice::hash (ice::StringID_Arg value) noexcept -> ice::u64
constexpr auto ice::operator""_sid (char const *str, size_t len) noexcept
constexpr auto ice::operator""_sid_hash (char const *str, size_t len) noexcept
constexpr auto ice::operator<=> (ice::StringID_Arg left, ice::StringID_Arg right) noexcept

Variables

static constexpr ice::StringID ice::StringID_Invalid { .value = StringID_Hash{ } }