#pragma once #include "MBVault.h" class AFX_EXT_CLASS CMBVaultMgr { public: CMBVaultMgr(void); ~CMBVaultMgr(void); private: CMBVaultMap m_map; // ÓÃÀ´²éÕÒ£¬¼Ó¿ìËÙ¶È CMBVaultVector m_vector; public: void GetVaultVector( CMBVaultVector &vector); // µÃµ½vector CMBVault *GetVault( CString strID ); // ²éÕÒ bool AddVault( CMBVault *pVault ); // Ìí¼Ó bool RemoveAllVault(); // Çå³ýËùÓÐ int GetCount(); public: bool ParseXml( CString &strXml,CString &strErrInfo ); // ½âÎöÊý¾Ý CString GenXml(); };