Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 May Goto should to the tail end
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
346 Posts

Posted - Jan 16 2013 :  9:28:01 PM  Show Profile  Reply with Quote
Please see from Bottom to Top



It's tedious,May directly to the end.

Creation come from persist!

feline
Whole Tomato Software

United Kingdom
19188 Posts

Posted - Jan 16 2013 :  10:29:07 PM  Show Profile  Reply with Quote
I don't understand your code. InitBaseMem() is a function, why is Alt-G going to the macro DECLARE_IMP_NODE_FUNC?

And why is Alt-G on this macro taking you to the function declaration?

Are you able to post a code snippet that reproduces this effect, so I can see what is happening?

zen is the art of being at one with the two'ness
Go to Top of Page

jzq740176597
Tomato Guru

China
346 Posts

Posted - Jan 17 2013 :  7:02:50 PM  Show Profile  Reply with Quote
#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;
}

Creation come from persist!

Edited by - jzq740176597 on Jan 17 2013 7:03:22 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19188 Posts

Posted - Jan 18 2013 :  1:49:18 PM  Show Profile  Reply with Quote
Thank you for the code, I can see what you are doing now. For Alt-g, what happens when the macro takes parameters? What happens when the macro is used in more than one class?

In both of these cases you are going to want Alt-g to do this, to jump to where the macro is used inside the class. Find References might help you a bit here, it is listing the function declaration inside the macro for me.

zen is the art of being at one with the two'ness
Go to Top of Page

jzq740176597
Tomato Guru

China
346 Posts

Posted - Jan 21 2013 :  06:00:56 AM  Show Profile  Reply with Quote
Roger-?-? thanks

Creation come from persist!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000