How can I tell if a class is abstract?

Hi,
I have a TClass to a class. I want to know if it is abstract. i.e. I want to do something like the following:

TClass *c = gROOT->GetClass(“TString”);
if ((c->Property() & kIsAbstract) == 1) {
cout << “TString is abstract” << endl;
}

What is the test? I couldn’t figure it out…

If it makes any differences, I only care about pre-compiled classes (either in the ROOT distribution or loaded in in another so).

Cheers,
Gordon.

if (gROOT.GetClass("TString")->Property() & kIsAbstract) { //I am an abstract class }
ie, test for not equal 0 instead of equal 1

Rene

Wow. That was a rookie mistake on my part! Thanks! -Gordon.