18#ifndef INCLUDED_CSTRINTERN
19#define INCLUDED_CSTRINTERN
52 const char*
c_str()
const;
64 const std::string&
string()
const;
Definition: CStrIntern.cpp:29
Interned 8-bit strings.
Definition: CStrIntern.h:38
CStrInternInternals * m
Definition: CStrIntern.h:90
bool empty() const
Definition: CStrIntern.cpp:144
size_t length() const
Returns length of string in bytes.
Definition: CStrIntern.cpp:139
const char * c_str() const
Returns null-terminated string.
Definition: CStrIntern.cpp:134
bool operator!=(const CStrIntern &b) const
Definition: CStrIntern.h:74
u32 GetHash() const
Returns cached FNV1-A hash of the string.
Definition: CStrIntern.cpp:129
CStrIntern()
Definition: CStrIntern.cpp:114
bool operator<(const CStrIntern &b) const
Compare with some arbitrary total order.
Definition: CStrIntern.h:84
bool operator==(const CStrIntern &b) const
String equality.
Definition: CStrIntern.h:69
const std::string & string() const
Returns as std::string.
Definition: CStrIntern.cpp:149
Definition: ShaderDefines.cpp:31
std::size_t operator()(const CStrIntern &str) const
Definition: CStrIntern.h:98
uint32_t u32
Definition: types.h:39