class A: public ... { public: //strObj: a class's name bool isInherit(string strObj) { //A inherit from strObj? } }
var