#include "timemory/hash/static_string.hpp"
Definition at line 38 of file static_string.hpp.
◆ string_registry_t
◆ static_string() [1/3]
Definition at line 40 of file static_string.cpp.
43 if(get_private_registry())
44 get_private_registry()->emplace(_str);
◆ ~static_string()
tim::hash::static_string::~static_string |
( |
| ) |
|
|
default |
◆ static_string() [2/3]
tim::hash::static_string::static_string |
( |
const static_string & |
| ) |
|
|
default |
◆ static_string() [3/3]
◆ c_str()
const char * tim::hash::static_string::c_str |
( |
| ) |
const |
|
inline |
◆ get_registry()
Definition at line 65 of file static_string.cpp.
67 if(!get_private_registry())
69 return *get_private_registry();
std::unordered_set< const char * > string_registry_t
◆ hash()
std::size_t tim::hash::static_string::hash |
( |
| ) |
const |
|
inline |
◆ is_registered() [1/2]
Definition at line 49 of file static_string.cpp.
51 if(!get_private_registry())
53 return get_private_registry()->find(_str) != get_private_registry()->end();
Referenced by is_registered().
◆ is_registered() [2/2]
◆ operator const char *()
tim::hash::static_string::operator const char * |
( |
| ) |
const |
|
inline |
◆ operator()()
std::size_t tim::hash::static_string::operator() |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this struct was generated from the following files: