|
| TIMEMORY_HASH_LINKAGE (hash_map_ptr_t &) get_hash_ids() |
|
| TIMEMORY_HASH_LINKAGE (hash_alias_ptr_t &) get_hash_aliases() |
|
| TIMEMORY_HASH_LINKAGE (std::shared_ptr< hash_resolver_vec_t > &) get_hash_resolvers() |
|
| TIMEMORY_HASH_LINKAGE (hash_value_t) get_hash_id(const hash_alias_ptr_t &_hash_alias |
|
| if (_alias_itr !=_hash_alias->end()) return _alias_itr -> second |
|
| TIMEMORY_HASH_LINKAGE (void) add_hash_id(const hash_map_ptr_t & |
|
| TIMEMORY_HASH_LINKAGE (void) add_hash_id(hash_value_t _hash_id |
|
| if (_reported.count(_hash_id) > 0) return |
|
_reported | insert (_hash_id) |
|
| if (!_hash_map) |
|
| for (const auto &aitr :*_hash_alias) |
|
| for (auto &mitr :*_hash_map) |
|
| if (_hash_id > 0) |
|
| TIMEMORY_HASH_LINKAGE (typename hash_map_t::const_iterator) find_hash_identifier(const hash_map_ptr_t &_hash_map |
|
| if (_map_itr !=_hash_map->end()) return _map_itr = &_map_itr->second |
|
return _hash_map | end () |
|
| TIMEMORY_HASH_LINKAGE (typename hash_map_t::const_iterator) find_hash_identifier(hash_value_t _hash_id) |
|
| TIMEMORY_HASH_LINKAGE (bool) get_hash_identifier(const hash_map_ptr_t &_hash_map |
|
| if (static_string::is_registered(_hash_id)) = reinterpret_cast<const char*>(_hash_id) |
|
| if (_hash_alias) |
|
| TIMEMORY_HASH_LINKAGE (std::string) get_hash_identifier(hash_value_t _hash_id) |
|
| TIMEMORY_HASH_LINKAGE (bool) get_hash_identifier(hash_value_t _hash_id |
|
| TIMEMORY_HASH_LINKAGE (std::string) get_hash_identifier(const hash_map_ptr_t &_hash_map |
|
| if (get_hash_identifier(_hash_map, _hash_alias, _hash_id, _ret)) return *_ret |
|
| hash_identifier_error (_hash_map, _hash_alias, _hash_id) |
|
hash_map_ptr_t & | get_hash_ids () |
|
hash_alias_ptr_t & | get_hash_aliases () |
|
std::shared_ptr< hash_resolver_vec_t > & | get_hash_resolvers () |
|
template<typename Tp , std::enable_if_t< concepts::is_string_type< std::decay_t< Tp > >::value, int > = 0> |
hash_value_t | get_hash_id (Tp &&_prefix) |
|
hash_value_t | get_combined_hash_id (hash_value_t _lhs, hash_value_t _rhs) |
|
template<typename Tp , std::enable_if_t<!std::is_integral< std::decay_t< Tp > >::value, int > = 0> |
hash_value_t | get_combined_hash_id (hash_value_t _lhs, Tp &&_rhs) |
|
hash_value_t | get_hash_id (const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id) |
|
hash_value_t | add_hash_id (hash_map_ptr_t &_hash_map, string_view_cref_t _prefix) |
| add an string to the given hash-map (if it doesn't already exist) and return the hash More...
|
|
hash_value_t | add_hash_id (string_view_cref_t _prefix) |
| add an string to the default hash-map (if it doesn't already exist) and return the hash More...
|
|
void | add_hash_id (const hash_map_ptr_t &_hash_map, const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id, hash_value_t _alias_hash_id) |
|
void | add_hash_id (const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id, hash_value_t _alias_hash_id) |
|
void | add_hash_id (hash_value_t _hash_id, hash_value_t _alias_hash_id) |
|
void | hash_identifier_error (const hash_map_ptr_t &_hash_map, const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id) |
|
string_view_t | get_hash_identifier_fast (hash_value_t _hash) |
| this does not check other threads or aliases. Only call this function when you know that the hash exists on the thread and is not an alias More...
|
|
bool | get_hash_identifier_fast (hash_value_t _hash, std::string *&_v) |
|
bool | get_hash_identifier_fast (hash_value_t _hash, const char *&_v) |
|
hash_map_t::const_iterator | find_hash_identifier (const hash_map_ptr_t &_hash_map, const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id) |
|
hash_map_t::const_iterator | find_hash_identifier (hash_value_t _hash_id) |
|
bool | get_hash_identifier (const hash_map_ptr_t &_hash_map, const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id, std::string *&_ret) |
|
bool | get_hash_identifier (const hash_map_ptr_t &_hash_map, const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id, const char *&_ret) |
|
bool | get_hash_identifier (hash_value_t _hash_id, std::string *&_ret) |
|
bool | get_hash_identifier (hash_value_t _hash_id, const char *&_ret) |
|
std::string | get_hash_identifier (const hash_map_ptr_t &_hash_map, const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id) |
|
std::string | get_hash_identifier (hash_value_t _hash_id) |
|
template<typename FuncT > |
size_t | add_hash_resolver (FuncT &&_func) |
|
std::string | demangle_hash_identifier (std::string, char bdelim='[', char edelim=']') |
|
template<typename... Args> |
auto | get_demangled_hash_identifier (Args &&... _args) |
|
template<typename T > |
size_t | get_hash (T &&obj) |
|
size_t | get_hash (string_view_cref_t str) |
|
size_t | get_hash (const char *cstr) |
|