18 #ifndef INCLUDED_CSTRINTERN
19 #define INCLUDED_CSTRINTERN
52 const char*
c_str()
const;
62 const std::string&
string()
const;
86 #define X(id) extern CStrIntern str_##id;
87 #define X2(id, str) extern CStrIntern str_##id;
92 #endif // INCLUDED_CSTRINTERN
const std::string & string() const
Returns as std::string.
bool operator==(const CStrIntern &b) const
String equality.
size_t length() const
Returns length of string in bytes.
bool operator<(const CStrIntern &b) const
Compare with some arbitrary total order.
u32 GetHash() const
Returns cached FNV1-A hash of the string.
const char * c_str() const
Returns null-terminated string.