From: Alexandre Naaman (naaman++at++laplace.engr.sgi.com)
Date: 09/02/2003 13:59:11
Hi Ron,
> I am building a new application and design in Rational Rose. I will be
> using Performer for the first time, but wanted to put its class
> hierarchy in as well to make the design run smoother. Does anyone have
> a Rational model or petal file with Performer's complete class
> hierarchy? If not, where can I see the hierarchy so I can do the model
> file myself?
Unfortunately, we don't have a Rational Rose model for Performer. That
being said, I've used Rational Rose's Analyzer reverse engineering tools
in the past with decent success.
Another option is to spew out all the pfType's which exist within
Performer. You can do this by subclassing pfType and adding a method to
retreive the firstMemoryType static member and then just incrementing that
pointer until it's NULL (because firstMemoryType points to a list of
pfTypes.) Then you can (for each pfType ptr) get the parents and hence
determine the entire class hierarchy. This won't cover everything (like
some of the simpler classes like pfVec3 and other stuff that's in
pfLinMath.h) but it's a good starting point, IMHO :)
Hope this helps,
Alex.
This archive was generated by hypermail 2b29 : Tue Sep 02 2003 - 13:59:57 PDT