Pyrogenesis trunk
|
#include "precompiled.h"
#include "CStrIntern.h"
#include "lib/fnv_hash.h"
#include "ps/CLogger.h"
#include "ps/ThreadUtil.h"
#include <unordered_map>
#include "CStrInternStatic.h"
Classes | |
class | CStrInternInternals |
struct | StringsKeyHash |
struct | StringsKeyProxy |
struct | StringsKeyProxyHash |
struct | StringsKeyProxyEq |
Namespaces | |
namespace | anonymous_namespace{CStrIntern.cpp} |
Macros | |
#define | X(id) CStrIntern str_##id(#id); |
#define | X2(id, str) CStrIntern str_##id(str); |
Typedefs | |
using | StringsKey = std::string |
Functions | |
CStrInternInternals * | anonymous_namespace{CStrIntern.cpp}::GetString (const char *str, size_t len) |
Variables | |
std::unordered_map< StringsKey, CStrInternInternals, StringsKeyHash > | anonymous_namespace{CStrIntern.cpp}::g_Strings |
#define X | ( | id | ) | CStrIntern str_##id(#id); |
#define X2 | ( | id, | |
str | |||
) | CStrIntern str_##id(str); |
using StringsKey = std::string |