| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 | | Quintiq file version 2.0 |  | #parent: #root |  | MethodOverride CopyTo (LibOpt_Run run) as LibOpt_Scope |  | { |  |   TextBody: |  |   [* |  |     result := LibOpt_Scope::Create( run ); |  |      |  |     if( result.istype( LibOpt_ScopeThin ) ) |  |     { |  |       result_thin := result.astype( LibOpt_ScopeThin ); |  |       traverse( this, ScopeSharedOnScope, ssos ) |  |       { |  |         ssos.ScopeShared().AddUnsafe( result_thin, ssos.Group() ); |  |       } |  |     } |  |     else |  |     { |  |       traverse( this, ScopeSharedOnScope, ssos ) |  |       { |  |         traverse( ssos, ScopeShared.ScopeElement, se ) |  |         { |  |           result.Add( se, ssos.Group() ); |  |         } |  |       } |  |     } |  |      |  |     return result; |  |   *] |  | } | 
 |