How do I identify the class of a TDF_Attribute object read from a general OCAF document, where I don't have any prior knowledge of the document structure? I only need to deal with the attribute types built in to OCC.
I can get it's GUID easily enough, but I need to cast the handle to the appropriate underlying class? Is there a registry of TDF_Attribute types I can iterate over, to test against? Or maybe an easier method?