18 #ifndef INCLUDED_CSTRINTERN 19 #define INCLUDED_CSTRINTERN 52 const char*
c_str()
const;
64 const std::string&
string()
const;
105 #endif // INCLUDED_CSTRINTERN bool operator!=(const CStrIntern &b) const
Definition: CStrIntern.h:74
CStrIntern()
Definition: CStrIntern.cpp:113
bool operator==(const CStrIntern &b) const
String equality.
Definition: CStrIntern.h:69
const std::string & string() const
Returns as std::string.
Definition: CStrIntern.cpp:148
Definition: CStrIntern.cpp:28
bool operator<(const CStrIntern &b) const
Compare with some arbitrary total order.
Definition: CStrIntern.h:84
Definition: ShaderDefines.cpp:30
size_t length() const
Returns length of string in bytes.
Definition: CStrIntern.cpp:138
const char * c_str() const
Returns null-terminated string.
Definition: CStrIntern.cpp:133
std::size_t operator()(const CStrIntern &str) const
Definition: CStrIntern.h:98
CStrInternInternals * m
Definition: CStrIntern.h:90
uint32_t u32
Definition: types.h:39
Interned 8-bit strings.
Definition: CStrIntern.h:37
u32 GetHash() const
Returns cached FNV1-A hash of the string.
Definition: CStrIntern.cpp:128
bool empty() const
Definition: CStrIntern.cpp:143