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 47shows 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 47, Class Casting