Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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
 

Back to the top