#pragma once
#include <map>
struct M_AccCheckCFGData
{
	//ID
	std::string mID;
	//ÕËºÅ±í
	std::string mAccTableName;
	//ÕËºÅkey
	std::string mAccKey;
	//³äÖµ±í
	std::string mPayTableName;
};

class M_AccCheckCFG
{
public:
private:
	static std::auto_ptr<M_AccCheckCFG> msSingleton;
public:
	int GetCount();
	const M_AccCheckCFGData* GetData(std::string ID);
	const std::map<std::string, M_AccCheckCFGData>& GetMapData();
	void Load();
	void LoadLua();
	void Reload();
	static M_AccCheckCFG* GetSingleton();
	static void Release();
private:
	std::map<std::string, M_AccCheckCFGData> mMapData;
};
