Quintiq file version 2.0 
 | 
#parent: #root 
 | 
StaticMethod GetAllScenarioNodes ( 
 | 
  TreeNodeForScenarioNode treeNode_i 
 | 
) remote as owning structured_TreeNodeForScenarioNode 
 | 
{ 
 | 
  Description: 'Return all the children of a _ScenarioNode instance.' 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Jacky CHAN Feb-25-2016 (created) 
 | 
    result := construct( structured_TreeNodeForScenarioNode ); 
 | 
    result.Add( treeNode_i ); 
 | 
     
 | 
    ScenarioManager::GetAllScenarioNodes( treeNode_i, &result ); 
 | 
     
 | 
    return &result; 
 | 
  *] 
 | 
} 
 |