## Hierarchy Views Show Multi-Level Relationships

Hierarchy views show the relationships between entities. Here are examples of the types of hierarchy views that Understand for C++ offers.

- Invocation - Shows the entire chain of invocations emanating from this function. Each line between entities is read as “entity invokes entity”. In this example, gotamatch invokessavematch which invokes malloc (and others).
- Call By - Shows who calls a function, and who calls each parent. Each line connecting an entity is read as “entity is called by entity”. In this example, reg is called by regcomp, which is called by isolate which is called by main. Note that this view is read from the bottom up or right to left.
- Base Classes- For classes, shows the base classes from which this class is derived from. In this example, class AlphaSyn is derived from class Synapse which is derived from class Channel which is derived from classes Current and Stepper.
- Derived Classes - For classes, shows the classes which are derived from this class. In this example, class Channel is a base class for class Synapse which in turn is a base class for class AlphaSyn.
- Include - Shows the include hierarchy of a C or H file. A connecting line is read as “filename includes filename.” In this example, regsub.c includes stdio.h, regexp.h, and regmagic.h.
- Include By - Shows what files include a given file. A connecting line is read as “filename is included by filename”. In this example, regmagic.h is included by regexp.c and regsub.c. Note that this view is read from the bottom up or right to left.

Scientific Toolworks, Inc. http://www.scitools.com