I have a base class which has a directed association with multiple other classes, i.e. the base struct consists of pointers to other classes. What I would like to do is programatically loop through all the pointers.
One way to achieve this would be to have these pointers stored in an array or some sort of a container. Is it possible to change the association's properties in a way that the generated code stores the pointer to the class to a predefined container instead of directly to the associated struct?
I am using Rhapsody in C.
Thanks for any suggestions,