Hi pipole,
I would like to ask two novice questions. 1. What I understood from the earlier discussion: we do generate Inheritance definitions for framework classes/system classes that are referenced by user defined classes. My questions is that what does their inheritance definition look like. In the simplest case, the inheritance definition for a system class may look like this (my assumption: we discard the belongsTo attribute):
FAMIX.Class { id: 121 name: 'FrameworkClass' stub: true }
2. What about the inheritance definition of user definied classes that do not have any children. How do we assign their subclass attribute. I have tried the following by putting stub: true
(FAMIX.InheritanceDefinition (id: 18) (stub true) (subclass 0) (superclass 5) ) But it didn't work.
I generate a file keeping the above defined hypotheses: minimal root definition and subclass=0 definition for classes having no children but the file fails to load in MOOSE. I am attached the file with this mail, just in case. The program defines a simple inheritance hierarchy with only one method. The inheritance hierarchy looks like this:
shape <- rectangle,circle,trapezoid rectangle <- square,rectangle1 Circle <- Eclipse
For this problem, I would greatly appreciate your help coz IMHO the documentation found on the Web provides several interpretations and can be a misleading.
thanx in advance,
Usman
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.