Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 May VA created Imp function place do better

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
jzq740176597 Posted - Dec 10 2012 : 7:24:19 PM
//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.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Dec 11 2012 : 3:00:45 PM
I am seeing the same effect here. Thank you for the clear description.

case=9020

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000