NextGen TotalView for HPC User Guide : PART II Debugging Tools and Tasks : Chapter 6 Examining and Editing Data : About Expressions : Using C++
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 53shows 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 53 – Class Casting