Pyrogenesis
trunk
|
#include "precompiled.h"
#include "CStrIntern.h"
#include "lib/fnv_hash.h"
#include "ps/CLogger.h"
#include <boost/unordered_map.hpp>
#include "CStrInternStatic.h"
Classes | |
class | CStrInternInternals |
struct | StringsKeyHash |
struct | StringsKeyProxy |
struct | StringsKeyProxyHash |
struct | StringsKeyProxyEq |
Macros | |
#define | X(id) CStrIntern str_##id(#id); |
#define | X2(id, str) CStrIntern str_##id(str); |
Typedefs | |
typedef std::string | StringsKey |
Functions | |
static CStrInternInternals * | GetString (const char *str, size_t len) |
Variables | |
static boost::unordered_map< StringsKey, shared_ptr< CStrInternInternals >, StringsKeyHash > | g_Strings |
#define X | ( | id | ) | CStrIntern str_##id(#id); |
#define X2 | ( | id, | |
str | |||
) | CStrIntern str_##id(str); |
typedef std::string StringsKey |
|
static |
|
static |