| IOLink 1.11.0

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
iolink::DependencyGraph Class Reference

Algorithms on the dependency graph. More...

`#include <iolink/tool/DependencyGraph.h>`

## Static Public Member Functions
static CommonAncestorStatus | hasCommonAncestor (std::shared_ptr< View > view1, std::shared_ptr< View > view2)
| Indicates if two views share a common ancestor.

## Detailed Description

Algorithms on the dependency graph.

## Member Function Documentation

## ◆ hasCommonAncestor()

static CommonAncestorStatus iolink::DependencyGraph::hasCommonAncestor | ( | std::shared_ptr< View > | view1,
|  | std::shared_ptr< View > | view2
| ) |  |
| static

Indicates if two views share a common ancestor.

Parameters

  view1 | First view to take into account
  view2 | Second view to take into account

Returns
  SHARE_ANCESTOR if the two given views share at least one common ancestor.
  SHARE_NO_ANCESTOR if the two given views don't share any ancestor.
  UNDETERMINED if the information could not be determined (dependency graph is not complete).

The documentation for this class was generated from the following file:

- iolink/public/include/iolink/tool/DependencyGraph.h