1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod GetDownstreamComponents (LibOpt_Components components) as owning LibOpt_Components 
 |  { 
 |    Description: 
 |    [* 
 |      Return a set containing all downstream components of the given components. 
 |       
 |      A downstream component is any component that can be found by following the outgoing links starting at the given components. 
 |    *] 
 |    TextBody: 
 |    [* 
 |      result := construct( structured[LibOpt_Component] ); 
 |      traverse( components, Elements, component ) 
 |      { 
 |        LibOpt_Utility::GetDownstreamComponents( component, result ); 
 |      } 
 |       
 |      return & result; 
 |    *] 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |