#define DECLARE_IMP_NODE_FUNC \public:\ virtual int GetMemLinkType()const; \\
private: \ void InitBaseMem(){/*+?+?+?+?-?+?+?-+-+-?impNode-?-?+?+?-?+?-?+?+?-?*/\ m_pMainGJ=m_pSubGJ=NULL;m_pParaLib=NULL;m_pNodePara=NULL;\ m_dLocation=0;m_idGroup=0;\ }\\
In the class declare h file
class A{
public:
DECLARE_IMP_NODE_FUNC
};
The refer is class A 's member function
void impBBInsNode::Init()
{
InitBaseMem();
m_pLinkYYUp=NULL;
m_pLinkYYDwn=NULL;
m_pLinkFB=NULL;
m_bSubEnd=FALSE;
}