I would like to use VP to generate some C++ API. I would need to customize the code generation templates to output as comment of a method the related requirements.
Those requirements are in the VP model linked to the method via the metamodel attributes of the method (Related Elements/Transit To).
So, my question is simple, is it possible to get access to the “Transit To” attributes of a method, a class or an attribute from the code generation templates ?
I already customized some of the report writer templates to do that, if I can do the same for the code, it would really be perfect !!!
Thanks for your help,