10 #ifndef TurtleBrains_ResourceHandle_hpp
11 #define TurtleBrains_ResourceHandle_hpp
13 #include <turtle_brains/core/tb_types.hpp>
49 operator bool()
const;
73 inline size_t GetHash(
void)
const {
return mValue; }
114 template<
typename Type>
struct std::hash<
TurtleBrains::Core::ResourceHandle<Type>>
118 return handle.GetHash();
155 return mValue == other.
mValue;
162 return mValue != other.
mValue;
Definition: tb_resource_handle.hpp:25
ResourceHandle(void)
Definition: tb_resource_handle.hpp:126
tbCore::uint32 mValue
Definition: tb_resource_handle.hpp:103
bool IsValid(void) const
Definition: tb_resource_handle.hpp:139
bool operator==(const ResourceHandle &other) const
Definition: tb_resource_handle.hpp:153
bool operator!=(const ResourceHandle &other) const
Definition: tb_resource_handle.hpp:160
~ResourceHandle(void)
Definition: tb_resource_handle.hpp:133
ResourceHandle(const tbCore::uint32 value)
Definition: tb_resource_handle.hpp:167
Contains core functionality for each component of the API.
Definition: tb_debug_logger.hpp:125
std::uint32_t uint32
Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1).
Definition: tb_types.hpp:27
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:22