jeudi 2 avril 2015

base Class to all derived class c++ Qt

I am having problem with getting the class names of all classes which are inherited from a base class.



Class Base
{
};
Class A:public Base
{
};
Class B:public Base
{
};
Class C:public Base
{
};


.....so on. My requirement is that I want to know all the class names which are inherited from class Base. Is there any way or method from base class that I can know all the classes? Thanks in advance.


Aucun commentaire:

Enregistrer un commentaire