UML Modelling and Codegeneration related discussions » Modelling with UML » File with defines but the needed classes don't know the file
File with defines but the needed classes don't know the file
3515 Betrachtungen
Seite:
1
File with defines but the needed classes don't know the file
21.07.2008 15:54
Hi I have a .h file in a package and some classes. In the file are many defines which should be visible for the classes. I use a dependency to the .h file with stereotype include. But the classes don't know the .h file. What can I do?
Re: File with defines but the needed classes don't know the file
21.07.2008 15:54
Stereotype <<include>> has no code generation effect so use stereotype <<Usage>> note that you can define where the include is located (in .h or .c file of the class) use CG:Dependency:UsageType to define the location
