QM  6.1.1
Model-Based Design Tool
Loading...
Searching...
No Matches
$declare1

$declare$define

The primary use for $declare1 is to generate non-recursive declarations for packages. Specifically, the non-recursive declaration $declare1 ${<package>} will NOT generate declarations of any sub-packages nested in <package>.

Example of a non-recursive Package declaration

In the example package DbC shown above, the non-recursive declaration $declare1 ${DbC} will NOT declare sub-packages DbC::active and DbC::inactive. Instead, these sub-packages are generated separately surrounded by the #if/#else directives.

$declare$define