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 (char const *mStr) noexcept
 
constexpr HashedString (HashedString const &other) noexcept
 
constexpr HashedString (HashedString &&other) noexcept
 
constexpr HashedStringoperator= (HashedString const &other) noexcept
 
constexpr HashedStringoperator= (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 (nullptr_t)
 
MCAPI void * $ctor (::HashedString &&rhs)
 
MCAPI void * $ctor (::HashedString const &rhs)
 
MCFOLD void * $ctor (::std::string const &str)
 
MCAPI void * $ctor (char const *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 MCFOLD ::HashedString const & getEmptyString ()
 
static MCAPI ::HashedStringdefaultErrorValue ()
 

Public Attributes

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

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