使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 0408576e9da10015ffa9da0079b8c985113ce4b3
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
31
32
#pragma once
#include "stdafx.h"
#include "MBAbstBaseObj.h"
#include "MBBaseAttachDocObj.h"
 
/************************************************************************/
/*  »ùÀà--¸½¼ÓÎĵµ¹ÜÀíÆ÷                                                 */
/************************************************************************/
class AFX_EXT_CLASS CMBBaseAttachDocMgr
    :public CMBAbstBaseObj
{
    DECLARE_DYNAMIC(CMBBaseAttachDocMgr)
public:
    CMBBaseAttachDocMgr(void);
    ~CMBBaseAttachDocMgr(void);
protected:
    CMBBaseAttachDocObjMap     m_mapAttachObj;
    CMBBaseAttachDocObjVector  m_vecotrAttachObj;
protected:
    bool                 AddAttachObj(CMBBaseAttachDocObj *pAttachDocObj);              // Ìí¼ÓÊý¾Ý
    bool                 RemoveAllAttachObj();                                           // ÒƳý  
public:
    bool                 GetBaseObjVector( CMBBaseObjVector &vectorObj );                // µÃµ½»ùÀàµÄÊý×é
    void                 GetAttachObjMap( CMBBaseAttachDocObjMap &mapAttachObj);               // µÃµ½map
    void                 GetAttachObjVector( CMBBaseAttachDocObjVector &vecotrAttachObj);  // µÃµ½vector
    CMBBaseAttachDocObj *GetAttachObj( CString strID );                                    // ²éѯ
    bool                 RemoveAttachObj( CMBBaseAttachDocObj *pAttachDocObj );            // ÒƳý    
    bool                 RemoveAttachObj( CString strID );                                // ÒƳý    
    int                     GetCount();                                                    // ÊýÁ¿
};