// circuitmap class header file

#ifndef circuitmap_h
#undef AFX_API
#define AFX_API AFX_EXT_CLASS
#define circuitmap_h

#include <afxtempl.h>

// Overloaded function so that CString can be used as a key
// in the CMap template class.
template<> inline UINT AFXAPI HashKey(CString& string)
{
	LPCTSTR key = (LPCTSTR) string;
	UINT nHash = 0;
	while (*key)
	{
		nHash = (nHash<<5) + nHash + *key++;
	}
	return nHash;
}


CMap<CString, CString&, int, int&> circuitmap;

#endif



