使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 4905e2e7537d507f218e8e9595485e09d9f3a2b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once 
#include "stdafx.h"
#include "MBAbstBaseObj.h"
#include "MBBaseAppObj.h"
 
/************************************************************************/
/*  Ó¦ÓÃÐÅÏ¢¹ÜÀíÆ÷                                                      */
/************************************************************************/ 
class AFX_EXT_CLASS CMBBaseAppMgr
    : public CMBAbstBaseObj 
{
    DECLARE_DYNAMIC(CMBBaseAppMgr)
public:
    CMBBaseAppMgr(void);
    ~CMBBaseAppMgr(void);
protected:
    CMBBaseAppObjMap    m_mapAppObj; 
    CMBBaseAppObjVector m_vectorAppObj;
protected:
    bool            AddAppObj(CMBBaseAppObj *pAppObj);        // Ìí¼ÓÊý¾Ý 
    bool            RemoveAllAppObj();                        // ÒƳý  
public:
    void            EmptyContainer();                               // Çå¿ÕÈÝÆ÷
    bool            GetBaseObjVector( CMBBaseObjVector &vectorObj );  // µÃµ½»ùÀàµÄÊý×é
    void            GetAppObjMap( CMBBaseAppObjMap &mapAppObj);       // µÃµ½map
    void            GetAppObjVector( CMBBaseAppObjVector &vectorAppObj); // µÃµ½vector
    CMBBaseAppObj  *GetAppObj( CString strID );               // ²éÕÒ 
    bool            HasAppObj( CMBBaseAppObj *pAppObj );      // ²éÕÒ 
    int             GetAppCount();                              // Ó¦ÓÃÊý 
};