61 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
		
		
			
		
	
	
			61 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
|  | #pragma once
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | //<2F><><EFBFBD><EFBFBD>int<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | static std::map<std::string, int>Int_STL; | |||
|  | //<2F><><EFBFBD><EFBFBD>float<61><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | static std::map<std::string, float>Float_STL; | |||
|  | //<2F><><EFBFBD><EFBFBD>string<6E><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | static std::map<std::string, std::string>String_STL; | |||
|  | //<2F><><EFBFBD><EFBFBD>bool<6F><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | static std::map<std::string, bool>Bool_STL; | |||
|  | 
 | |||
|  | //<2F><><EFBFBD><EFBFBD>intarr<72><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | static std::map<std::string, std::map<int, int>>IntArr_STL; | |||
|  | //<2F><><EFBFBD><EFBFBD>floatarr<72><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | static std::map<std::string, std::map<int, float>>FloatArr_STL; | |||
|  | //<2F><><EFBFBD><EFBFBD>stringarr<72><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | static std::map<std::string, std::map<int, std::string>>StringArr_STL; | |||
|  | //<2F><><EFBFBD><EFBFBD>boolarr<72><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | static std::map<std::string, std::map<int, bool>>BoolArr_STL; | |||
|  | 
 | |||
|  | 
 | |||
|  | static std::map<int, int>aod; | |||
|  | static std::map<int, float>bod; | |||
|  | static std::map<int, std::string>cod; | |||
|  | static std::map<int, bool>dod; | |||
|  | 
 | |||
|  | class STL | |||
|  | { | |||
|  | private: | |||
|  | 
 | |||
|  | 
 | |||
|  | public: | |||
|  | 
 | |||
|  | 	//<2F><>ѯָ<D1AF><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | 	static int Check_STL(std::string name,int Type,int idx = 0); | |||
|  | 	//static int Check_STL_Idx(std::string name,int idx);
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 	//<2F><><EFBFBD><EFBFBD> Int<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | 	static void BuildIntArr_STL(std::string name); | |||
|  | 	static void BuildFloatArr_STL(std::string name); | |||
|  | 	static void BuildStringArr_STL(std::string name); | |||
|  | 	static void BuildBoolArr_STL(std::string name); | |||
|  | 	 | |||
|  | 	//<2F><><EFBFBD><EFBFBD> Int<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | 	static void SetIntArr_STL(std::string name,int idx,int value); | |||
|  | 	static void SetFloatArr_STL(std::string name,int idx,float value); | |||
|  | 	static void SetStringArr_STL(std::string name,int idx,std::string value); | |||
|  | 	static void SetBoolArr_STL(std::string name,int idx,bool value); | |||
|  | 
 | |||
|  | 	//<2F><>ȡ Int<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | |||
|  | 	static int GetIntArr_STL(std::string name, int idx); | |||
|  | 	static float GetFloatArr_STL(std::string name, int idx); | |||
|  | 	static std::string GetStringArr_STL(std::string name, int idx); | |||
|  | 	static bool GetBoolArr_STL(std::string name, int idx); | |||
|  | 
 | |||
|  | }; | |||
|  | 
 |