| Quintiq file version 2.0 | 
| #parent: #root | 
| Method GetPeriodSpecifications ( | 
|   const MacroPlan macro_plan | 
| ) const as constcontent owning PeriodSpecification_MPs | 
| { | 
|   TextBody: | 
|   [* | 
|     periodspecs := construct( PeriodSpecification_MPs, constcontent ); | 
|      | 
|     traverse( this, BookmarkPeriodSpecificationElement, e ) | 
|     { | 
|       periodspec := macro_plan.GetPeriodSpecification( e.PeriodSpecificationID() ); | 
|        | 
|       if( not isnull( periodspec ) ) | 
|       { | 
|         periodspecs.Add( periodspec ); | 
|       } | 
|     } | 
|      | 
|     return &periodspecs; | 
|   *] | 
| } |