summaryrefslogtreecommitdiff
path: root/source/libs/asura-lib-utils/stringmap.hpp
blob: ddba12880748e6d741b37e6962b36bec22c106f2 (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>

namespace AsuraEngine
{

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

		bool ContainsKey(const key_type& key);

		bool ContainsString(const String& str);

		std::string GetStringByKey(const key_type& key);

		key_type GetKeyByString(const String& str);

	};

}

#endif