[vtkusers] Accessing super-classes when parsing vtk classes

Andrew J. Dolgert ajd27 at tc.cornell.edu
Thu Sep 21 14:03:56 EDT 2006


What are you up to?

There is no easy way with the supplied parser to get superclasses. If
you want that information, you have to do two passes with two parsers.

1. Run a simple version of a parser that just prints the superclass of a
class to a file. You could store that file in Wrapping\YourWrapper\.
2. Run a the actual parser that reads the list of superclasses and
builds the ancestry.

Drew

-----Original Message-----
From: vtkusers-bounces+ajd27=tc.cornell.edu at vtk.org
[mailto:vtkusers-bounces+ajd27=tc.cornell.edu at vtk.org] On Behalf Of Ali
-
Sent: Thursday, September 21, 2006 1:26 PM
To: vtkusers at vtk.org
Subject: [vtkusers] Accessing super-classes when parsing vtk classes

Hi,

When parsing a vtk class, the class structure is accissible by _FileInfo

defined in vtkparse.h. However, this structure does not allow one to
access 
the super-class of the current class being parsed -- it only provides
the 
names of the super-classes. How is it possible to access the actual 
super-classes and their functions?


_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list