Virtual Class Derivation


I’m running into a problem when I make a child class from a pure virtual parent. The code generated does not reflect the inherited virtual functions (The child class does not declare the functions). Is there some special way of making the child class redeclare the functions? The functions do however show up in the class specification “operations” view, but as I said, they are never generated for the child classes in code, therefore the virtual functions are never overwritten.

Please tell me how to go about doing this properly.

Dear Rudolph,

Thank you for your message. In order to generate the operations in the child, you have to right click on the class and select Code Detail > Realize all Interfaces. After that the operations in the child will be generated when you synchronize the model with the code. If you have any further questions, please feel free to contact us again.

Best regards,