#if !defined(AFX_CHANGEMANAGERCLASS_H__1D646C98_E36C_4274_BAF2_82DE3F74E447__INCLUDED_)
#define AFX_CHANGEMANAGERCLASS_H__1D646C98_E36C_4274_BAF2_82DE3F74E447__INCLUDED_

typedef std::map<CString,CString> mssMap;
typedef mssMap::iterator mssMapIt;
typedef std::map<CString,CaplInstance*> msciMap;
typedef msciMap::iterator msciMapIt;

//если хочется вложить любое из выражений друг в друга - ставьте фигурные скобки
#define forr(it,ms) for((it)=(ms).begin();(it)!=(ms).end();++(it))
#define ifnend(it,ms,ke) if(((it)=(ms).find(ke))!=(ms).end())
#define ifend(it,ms,ke) if(((it)=(ms).find(ke))==(ms).end())
#define iffindinsertmap(it,ms,ke,pa) ifend(it,ms,ke)(it)=(ms).insert(std::make_pair((ke),(pa))).first;
#define iffindinsertreplacemap(it,ms,ke,pa) iffindinsertmap(it,ms,ke,pa)else(it)=(ms).insert(std::make_pair((ke),(pa))).first;

class CChangeManagerClass
{

	CaplAPI* m_api;

	CChangeManagerClass();
	virtual ~CChangeManagerClass();
};

#endif //AFX_CHANGEMANAGERCLASS_H__1D646C98_E36C_4274_BAF2_82DE3F74E447__INCLUDED_