ivu_string_hash.hxx

来自「hl2 source code. Do not use it illegal.」· HXX 代码 · 共 22 行

HXX
22
字号
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved.

//IVP_EXPORT_PUBLIC

class IVP_Hash_Elem;

class IVP_U_String_Hash {
public:
    int	size;
    void *not_found_value;
    IVP_Hash_Elem **elems;
    
    inline int hash_index(const char *key)const;
    
    IVP_U_String_Hash(int size, void *not_found_value = 0);
    ~IVP_U_String_Hash();
    void add(const char *key,void *value);
    void remove(const char *key);
    void *find(const char *key) const;
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?