Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HashedString Class Reference
Inheritance diagram for HashedString:

Public Member Functions

constexpr HashedString (std::nullptr_t=nullptr) noexcept
constexpr HashedString (uint64 h, char const *mStr) noexcept
constexpr HashedString (std::string_view mStr) noexcept
constexpr HashedString (std::string &&s) noexcept
constexpr HashedString (std::string const &s) noexcept
constexpr HashedString (char const *mStr) noexcept
constexpr HashedString (HashedString const &other) noexcept
constexpr HashedString (HashedString &&other) noexcept
constexpr HashedString & operator= (HashedString const &other) noexcept
constexpr HashedString & operator= (HashedString &&other) noexcept
constexpr char const * c_str () const noexcept
constexpr std::string const & getString () const noexcept
constexpr uint64 getHash () const noexcept
constexpr bool empty () const noexcept
constexpr void clear () noexcept
template<typename StringType>
constexpr bool operator== (StringType const &rhs) const noexcept
constexpr bool operator== (HashedString const &other) const noexcept
template<typename StringType>
constexpr bool operator!= (StringType const &rhs) const noexcept
constexpr bool operator!= (HashedString const &other) const noexcept
constexpr std::strong_ordering operator<=> (HashedString const &other) const noexcept
constexpr operator std::string const & () const
constexpr operator std::string_view () const
MCAPI void * $ctor (::HashedString const &rhs)
MCAPI void * $ctor (::std::string const &str)
MCAPI void * $ctor (char const *str)
MCAPI void * $ctor (::std::string_view str)
MCAPI void * $ctor (uint64 hash, char const *str)
MCAPI void $dtor ()

Static Public Member Functions

static constexpr uint64 computeHash (std::string_view str)
static MCAPI ::HashedString const & defaultErrorValue ()

Public Attributes

uint64 mStrHash
::std::string mStr
mutable::HashedString const * mLastMatch

Member Function Documentation

◆ defaultErrorValue()

MCAPI ::HashedString const & HashedString::defaultErrorValue ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [1/5]

MCAPI void * HashedString::$ctor ( ::HashedString const & rhs)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [2/5]

MCAPI void * HashedString::$ctor ( ::std::string const & str)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [3/5]

MCAPI void * HashedString::$ctor ( char const * str)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [4/5]

MCAPI void * HashedString::$ctor ( ::std::string_view str)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [5/5]

MCAPI void * HashedString::$ctor ( uint64 hash,
char const * str )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void HashedString::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: