summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/StringMap.hpp
blob: 92a157f970bef1e927cad5f2efedf925850d715e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __ASURA_ENGINE_STRINGMAP_H__
#define __ASURA_ENGINE_STRINGMAP_H__

#include "String.h"

namespace AsuraEngine
{

    ///
    /// һ˫һһӦӳ䣬shader uniformsstatemathine state parameterID
    ///
    template<typename key_type> 
    class StringMap
    {
    public:

        bool ContainsKey(const key_type& key);

        bool ContainsString(const String& str);

        String GetStringByKey(const key_type& key);

        key_type GetKeyByString(const String& str);

    };

}

#endif