sandbox
Loading...
Searching...
No Matches
sbx::utility::basic_hashed_string< Char, Hash, HashFunction > Class Template Reference
Inheritance diagram for sbx::utility::basic_hashed_string< Char, Hash, HashFunction >:
sbx::scenes::basic_tag< Char >

Public Types

using char_type = HashFunction::char_type
 
using size_type = HashFunction::size_type
 
using hash_type = HashFunction::hash_type
 

Public Member Functions

constexpr basic_hashed_string (const char_type *string, const size_type length)
 
template<std::size_t Size>
constexpr basic_hashed_string (const char_type(&string)[Size])
 
constexpr basic_hashed_string (const std::basic_string< char_type > &string)
 
constexpr basic_hashed_string (const basic_hashed_string &other)=default
 
constexpr basic_hashed_string (basic_hashed_string &&other) noexcept=default
 
constexpr auto operator= (const basic_hashed_string &other) -> basic_hashed_string &=default
 
constexpr auto operator= (basic_hashed_string &&other) noexcept -> basic_hashed_string &=default
 
constexpr auto operator== (const basic_hashed_string &other) const noexcept -> bool
 
constexpr auto data () const noexcept -> const char_type *
 
constexpr auto size () const noexcept -> size_type
 
constexpr auto hash () const noexcept -> hash_type
 
constexpr auto c_str () const noexcept -> const char_type *
 
constexpr auto str () const noexcept -> const std::basic_string< char_type > &
 
constexpr auto rfind (std::basic_string_view< char_type > string) const noexcept -> size_type
 
constexpr auto substr (const size_type position=0, const size_type count=npos) const -> std::basic_string< char_type >
 
constexpr operator hash_type () const noexcept
 

Static Public Attributes

static constexpr auto npos = std::basic_string<char_type>::npos
 

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