Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: larsfl on April 18, 2006, 11:25:09 am
-
Hi,
I cannot figure out how to import code like this in EA :'(
Please give me a hint.
Macro definition
# define Handle(ClassName) Handle_##ClassName
// Use of macro
Handle(TDocStd_Document) myStarsDoc;
Handle(V3d_Viewer) myViewer;
Handle(AIS_InteractiveContext) myAISContext;
-
EA can't handle this sort macro currently, it can only specify to skip the macro. The only suggestion I can make is to get a preprocessor to expand that macro for you.