13 #ifndef __UT_SharedString__
14 #define __UT_SharedString__
39 return *myStrings.get(
id);
48 void dumpTable(std::ostream &os);
exint UT_IndexedHashSetItemId
Each item in the shared map is assigned a unique id.
void freeString(const UT_StringRef &str)
const UT_StringHolder & allocString(const UT_StringRef &str)
static const UT_StringHolder theEmptyString
SYS_FORCE_INLINE const UT_StringHolder & UTmakeUnsafeRef(const UT_StringRef &ref)
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference.
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
void free(const UT_StringRef &str)
UT_API void outputStats(std::ostream &os, exint size, exint bucket_count, exint capacity, float load_factor, float min_load_factor, float max_load_factor)
SYS_FORCE_INLINE bool isstring() const