使用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
31
#pragma once
#include "MBTNXXXAttr.h"
 
class CMBTNXXXObj;
// m_strObjID
typedef vector<CMBTNXXXObj*>       CMBTNXXXObjVector;  
typedef map<CString, CMBTNXXXObj*> CMBTNXXXObjMap;  
/************************************************************************/
/* TN_XXX±íµÄ×Ö¶ÎÊôÐÔÀà                                                 */
/************************************************************************/ 
class AFX_EXT_CLASS CMBTNXXXObj
    : public CMBAbstBaseObj
{
    DECLARE_DYNAMIC(CMBTNXXXObj)
public:
    CMBTNXXXObj(void);
    ~CMBTNXXXObj(void);
public:
    CString          m_strObjID;
private:
    CMBTNXXXAttrMap  m_mapAttr;
protected:
    virtual            void Abst(){};
public: 
    void             GetAttrMap( CMBTNXXXAttrMap &mapAttr);        // µÃµ½map
    CMBTNXXXAttr    *GetAttr( CString strName );                // ²éÕÒ  
    bool             AddAttr( CMBTNXXXAttr *pAttr );            // Ìí¼Ó
    bool             RemoveAllAttr();                           // Çå³ýËùÓÐ
public:
    CString          GetInsertSql( CString strTableName );       // »ñÈ¡insert sql
};