summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Containers/StringMap.hpp
blob: 94858a7dba02264b82ded39a4d5292ae93d2646b (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
30
31
32
#ifndef __AE_STRINGMAP_H__
#define __AE_STRINGMAP_H__

#include "String.h"

namespace AsuraEngine
{
    namespace Containers
    {

        ///
        /// һ˫һһӦӳ䣬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