Mana
|
#include <StringPool.h>
Public Member Functions | |
StringPool () | |
StringPool (const StringPool &other)=delete | |
StringPool (StringPool &&other) noexcept=delete | |
StringPool & | operator= (const StringPool &other)=delete |
StringPool & | operator= (StringPool &&other) noexcept=delete |
~StringPool ()=default | |
std::string_view | Get (const std::string_view &text) const |
std::string_view | Set (const std::string_view &text) |
Pool strings while removing duplicate strings 重複文字列を削除しながら文字列をプールします
mana::StringPool::StringPool | ( | ) |
|
delete |
|
deletenoexcept |
|
default |
std::string_view mana::StringPool::Get | ( | const std::string_view & | text | ) | const |
Searches for pooled strings
[in] | text | String to search |
|
delete |
|
deletenoexcept |
std::string_view mana::StringPool::Set | ( | const std::string_view & | text | ) |
Register strings in the string pool.
[in] | text | String to be registered. |