 |
Blamite Game Engine - Strings
00456.10.01.26.0053.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Go to the documentation of this file.
8 #define STRINGS_API __declspec(dllexport)
10 #define STRINGS_API __declspec(dllimport)
18 uint32_t HashText(std::string_view text);
19 uint32_t HashTextSecondary(std::string_view view_text);
23 std::string GetText()
const;
24 uint32_t GetHash()
const;
50 return static_cast<size_t>(
id.GetHash());
bool operator!=(const BlamHashedString &other) const
Definition: HashedString.cpp:83
BlamHashedString(std::string_view text)
Definition: HashedString.cpp:10
bool operator<(uuid const &lhs, uuid const &rhs) noexcept
Definition: uuid.h:573
std::unordered_map< uint32_t, std::string > known_hashes
Definition: HashedString.cpp:8
bool operator==(const BlamHashedString &other) const
Definition: HashedString.cpp:78
#define STRINGS_API
Definition: HashedString.h:10
bool operator<(const BlamHashedString &other) const
Definition: HashedString.cpp:88
STRINGS_API void LogEvent(BlamBasicLogMessage message)
Logs an event to the logger.
Definition: logger.cpp:41
uint32_t GetHash() const
Definition: HashedString.cpp:35
std::string GetText() const
Definition: HashedString.cpp:40
bool operator>(const BlamHashedString &other) const
Definition: HashedString.cpp:98
#define WSV_WARNING
Macro for 'Warning' log seveirty.
Definition: logger.h:24
bool operator>=(const BlamHashedString &other) const
Definition: HashedString.cpp:103
size_t operator()(const BlamHashedString &id) const
Produces a standard library-compatible hash of a BlamHashedString.
Definition: HashedString.h:48
bool operator!=(uuid const &lhs, uuid const &rhs) noexcept
Definition: uuid.h:568
bool operator==(uuid const &lhs, uuid const &rhs) noexcept
Definition: uuid.h:563
Definition: HashedString.h:13
bool operator<=(const BlamHashedString &other) const
Definition: HashedString.cpp:93