#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
|
};
|