Using C++
The TotalView expression system is able to interpret the way you define your classes and their inheritance hierarchy. For example, assume that you have the following declarations:
 
class Cylinder : public Shape { public:
...
};
Figure 55shows the second expression of cylinder cast to the type struct Shape, and TotalView properly evaluating the expression as the new type to show struct Shape's data members.
Figure 55, Class Casting