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
MichaelKamsties
avatar
Administrator
75 Beiträge

File with defines but the needed classes don't know the file

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?

MichaelKamsties
avatar
Administrator
75 Beiträge

Re: File with defines but the needed classes don't know the file

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

Seite: 1

Currently Online:

There is nobody online.

Welcome to our latest member: lammils