I did not have any answer on this topic. So I refine the question, Can I determine the list of inherited mother class from a base class IBaseClassInfo.
From: mfourticq2@xxxxxxxxxxx
To: cdt-dev@xxxxxxxxxxx
Date: Wed, 29 Jun 2011 13:00:00 +0200
Subject: [cdt-dev] Code generation and reflection in IBaseClassInfo.
Hi,
I am writting a code generator in CDT based on what was written for the automated new class creation : NewClassCodeGenerator.
I am at a point where I would like to generate specific information based on the class I extend. In that purpose, I would like to be able to determine if this class extends another class. I was expecting to find such information in the IBaseClassInfo. Unfortunately many functions from the ITypeInfo are taged as not to be referenced.
Is there an article describing the implementation of this reflection feature ? Should I cast the IBaseClassInfo to another type once I know it is a class ?
Thanks for your help and time,
Cheers,
Mathieu
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev