Imagix 4D User Guide |
![]() | |||||
|---|---|---|---|---|---|---|
|
|
|||||
A relationship is a directed, binary dependency between two symbols. The Imagix 4D database recognizes the following relationship types. Unless otherwise noted, the relationship data is collected and updated by analyzing your source code.
| Aggregates | class1 => class2 | |
| Represents class2 being used to declare members of class1. | ||
| Base Class Of | class1 => class2 | |
| Represents class2 inheriting from class1. | ||
| Calls | function => function | |
| function => macro | ||
| Represents macro being expanded when function is preprocessed. | ||
| Contains | directory => directory or file | |
| file => symbol | ||
| class => member | ||
| function => local_variable | ||
| Declares | file => symbol | |
| class => member | ||
| Depends On | file1 => file2 | |
| Indicates that rule exists in makefile that file1 is built from file2. This is collected using makefile_contents data source. | ||
| Dynamic Calls | function1 => function2 | |
| Represents function1 calling function2 dynamically, specifically through invoke() in the Java reflection API. Info is collected via Reflection Analysis report. | ||
| Has Friend | class => class | |
| Has Type | variable => data_type | |
| function => data_type | ||
| Represents function using data_type for the declaration of parameter or local variable. | ||
| Includes | file1 => file2 | |
| Represents file1 including files2, through a line such as #include <file2>. | ||
| Overridden By | function1 => function2 | |
| Represents a class1 member being overridden by a class2 member, where class2 inherits class1. | ||
| Reads | function => variable | |
| function1 => function2 | ||
| Represents function1 passing function2 as an argument. | ||
| Sets | function => variable |