I
ik
Hello All,
Please point me to the right news group if this is not the right one.
I have to store c++ class hierarchy, in some structure. From that
structure, I need to query for the baseclasses. I get the base class,
derived class information from a text file of the form
[baseclass1,derivedclass1]
[baseclass1,derivedclass2]
[baseclass2,derivedclass3]
[derivedclass3,derivedclass6] .. etc
This list is a plain one, and has multiple classes, I mean there are
different base classes and its associated derived classes. Multiple
inheritence is also allowed. Fortunately, all the class names are
unique.
I tried diffenent implementaions like maintianing two list, one for the
derived class and another for the inherited class and look the
inherited table to get the base class.. and so I create a structure ..
which I see is not efficient at all. Can somebody recommend a better
way to do this ?
Thanks for any suggestions.
Please point me to the right news group if this is not the right one.
I have to store c++ class hierarchy, in some structure. From that
structure, I need to query for the baseclasses. I get the base class,
derived class information from a text file of the form
[baseclass1,derivedclass1]
[baseclass1,derivedclass2]
[baseclass2,derivedclass3]
[derivedclass3,derivedclass6] .. etc
This list is a plain one, and has multiple classes, I mean there are
different base classes and its associated derived classes. Multiple
inheritence is also allowed. Fortunately, all the class names are
unique.
I tried diffenent implementaions like maintianing two list, one for the
derived class and another for the inherited class and look the
inherited table to get the base class.. and so I create a structure ..
which I see is not efficient at all. Can somebody recommend a better
way to do this ?
Thanks for any suggestions.