summaryrefslogtreecommitdiff
path: root/source/modules/asura-utils/StringMap.hpp
blob: 15d28eeffe2224fcc49d12ae902d7dc1a7fa6e85 (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 std::string& str);

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

		key_type GetKeyByString(const std::string& str);

	};

}

#endif