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 VA created Imp function place do better
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
346 Posts

Posted - Dec 10 2012 :  7:24:19 PM  Show Profile  Reply with Quote
//h. file
class A{
#ifdef _DEBUG
	//-?+++?+?+?-?-++?+?+?+?+?-?+?-?+?-?+?+?+?-?+?+?+?-?+?+?+?+?-?-?-++?+?-?+?-?-?-++?,+?+?-?+?X_DUMP+?+?+?-?+?+?
	virtual void Dump( CDumpContext& dc ) const;
#endif
public:
	//+?+?-?+?+?+?-?+?InsNode-?+?-++?+?+?+?+?+?-?+?+?
	static BOOL IsCanFormNode_S(const impGjBeam*pb1,const impGjBeam*pb2);
};

//cpp file
#ifdef _DEBUG
void impBBInsNode::Dump( CDumpContext& dc ) const{
	CString str;
	str.Format(_T("+?+?-++?%4d: "),Index()+1);dc<<str;
	str.Format(_T("ID=%5d, "),ID());dc<<str;
	dc<<_T(").\\r\\n");
}

//new created function by va Refactor Create Imp 
/*static*/BOOL impBBInsNode::IsCanFormNode_S(const impGjBeam*pb1,const impGjBeam*pb2)
{

}
#endif

But I think the IsCanFormNode_S should outside the Macro-Block!,conversely,do like this only when the declare is inside the Macro-block in .h file.

Creation come from persist!

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 11 2012 :  3:00:45 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=9020
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