|
HDK
|
#include "UT_API.h"#include "UT_Assert.h"#include "UT_Format.h"#include "UT_String.h"#include "UT_Swap.h"#include "UT_StringUtils.h"#include <SYS/SYS_AtomicInt.h>#include <SYS/SYS_Compiler.h>#include <SYS/SYS_Inline.h>#include <SYS/SYS_Math.h>#include <SYS/SYS_Pragma.h>#include <SYS/SYS_StaticAssert.h>#include <SYS/SYS_String.h>#include <SYS/SYS_Types.h>#include <iosfwd>#include <string>#include <utility>#include <stdint.h>#include <string.h>
Include dependency graph for UT_StringHolder.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | UT_Array< T > |
| class | UT_StringLit |
| class | UT_StringRef |
| class | UT_StringRef::Holder |
| struct | UT_StringRef::NumberedCompare |
| class | UT_StringHolder |
| struct | std::hash< UT_StringRef > |
| struct | std::hash< UT_StringHolder > |
| struct | UT::DefaultClearer< T > |
| struct | UT::DefaultClearer< UT_StringHolder > |
Namespaces | |
| UT | |
| UT::Literal | |
| std | |
| std::hash specialization for UT_IntrusivePtr<T> | |
Functions | |
| UT_StringHolder | UT::Literal::operator""_sh (const char *s, std::size_t const length) |
| SYS_FORCE_INLINE size_t | hash_value (const UT_StringRef &str) |
| SYS_FORCE_INLINE size_t | hash_value (const UT_StringHolder &str) |
| SYS_FORCE_INLINE const UT_StringHolder & | UTmakeUnsafeRef (const UT_StringRef &ref) |
| Convert a UT_StringRef into a UT_StringHolder that is a shallow reference. More... | |
| SYS_FORCE_INLINE const UT_StringHolder & | UTmakeUnsafeRefHash (const UT_StringRef &ref) |
| SYS_FORCE_INLINE UT_StringHolder | operator""_UTsh (const char *s, std::size_t const length) |
| SYS_FORCE_INLINE size_t hash_value | ( | const UT_StringRef & | str | ) |
Definition at line 953 of file UT_StringHolder.h.
| SYS_FORCE_INLINE size_t hash_value | ( | const UT_StringHolder & | str | ) |
Definition at line 1310 of file UT_StringHolder.h.
| SYS_FORCE_INLINE UT_StringHolder operator""_UTsh | ( | const char * | s, |
| std::size_t const | length | ||
| ) |
A user-defined literal in the global namespace. Uglier, but allows the use of UT_StringHolder UDLs in headers.
Definition at line 1360 of file UT_StringHolder.h.
| SYS_FORCE_INLINE const UT_StringHolder& UTmakeUnsafeRef | ( | const UT_StringRef & | ref | ) |
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference.
Definition at line 1316 of file UT_StringHolder.h.
| SYS_FORCE_INLINE const UT_StringHolder& UTmakeUnsafeRefHash | ( | const UT_StringRef & | ref | ) |
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference, and also precompute the hash. Use this for string literals that will be used repeatedly in hash tables.
Definition at line 1325 of file UT_StringHolder.h.