#pragma once #include "MBVaultCatalog.h" class AFX_EXT_CLASS CMBVaultCatalogMgr { public: CMBVaultCatalogMgr(void); ~CMBVaultCatalogMgr(void); public: bool m_bLoad; // ÊÇ·ñ¼ÓÔØ private: CMBVaultCatalogMap m_mapCatalog; // ÓÃÀ´²éÕÒ£¬¼Ó¿ìËÙ¶È CMBVaultCatalogVector m_vectorCatalog; public: void GetVaultCatalogVector( CMBVaultCatalogVector &vectorCatalog); // µÃµ½vector CMBVaultCatalog *GetVaultCatalog( CString strID ); // ²éÕÒ bool AddVaultCatalog( CMBVaultCatalog *pVaultCatalog ); // Ìí¼Ó bool RemoveAllVaultCatalog(); // Çå³ýËùÓÐ int GetCount(); public: CString GenXML(); // ÐòÁл¯³ÉXML¸ñʽ bool ParseXML( CString &strXml,CString strVaultID,CString strParentID,CString &strErrInfo ); // ½âÎö³É¶ÔÏó };