home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / manage / rt.abs < prev    next >
Encoding:
Text File  |  1988-05-03  |  2.4 KB  |  52 lines

  1. Package Design_Requirements_Trace_Package is
  2.  
  3. -- This tool is used to trace routines and declarations in the
  4. -- source code back to specific paragraphs in a requirements
  5. -- document.  The output listing shows, for each requirement
  6. -- referenced in a source file, what program units reference that
  7. -- requirement.  An intermediate file containing the pairs
  8. -- (location in code, reference cited) can be saved for use in 
  9. -- subsequent invocations.  When used in this way, the output report
  10. -- can show requirements traced to more than one source file.
  11.  
  12. procedure Trace_Requirements(SOURCE_FILE : in Ada_Source_File_Type;
  13.                              OLD_PAIRS   : in PAIRS_FILE := null;
  14.                              NEW_PAIRS   : out PAIRS_FILE := null);
  15. -- Trace requirements cited in SOURCE_FILE to paragraphs in a
  16. -- requirements document according to annotations in the source
  17. -- file.  If OLD_PAIRS is specified, include them in the output
  18. -- listing.  If NEW_PAIRS is specified, save all pairs in this file
  19. -- for subsequent invocations.
  20.  
  21. procedure Trace_Requirements(SOURCE_FILE : in Diana_Node_Type;
  22.                              OLD_PAIRS   : in PAIRS_FILE := null;
  23.                              NEW_PAIRS   : out PAIRS_FILE := null);
  24. -- Overload for use when Diana is available in the program libray.
  25.  
  26.  
  27. Package TITLE_PAGE is new TITLE_PAGE_PACKAGE
  28.     (Developing_organization    => "Intermetrics, Inc",
  29.      Author                     => "Michael Gordon"
  30.      Contact                    => "Bill Toscano",
  31.      Address                    => ("733 Concord Ave.",
  32.                                     "Cambridge", "MA", "02138"),
  33.      Phone                      => (617,661,1840)
  34.      Date_Submitted             => (15, Nov, 1984));
  35.  
  36.  
  37. Package Technical_Parameters is new  Technical_Parameters_Package
  38.    (Lines_of_Source_Code        => TBD,
  39.     Development_Compiler        => (IBM3083, AIE_UTS),
  40.     Planned_compilers_supported => ((DECVAX, DECADA)
  41.                                     (DECVAX, TSIADA)),
  42.     Auxilliary_files_size       => (TBD));
  43.  
  44. Package  DEVELOPMENT_SCHEDULE_AND_STATUS is new SCHEDULE_PACKAGE
  45.    (Completed_events            => ((PDR, (15, Oct, 1984)));
  46.                                     
  47.    (Scheduled_events            => ((CDR, (19, Dec, 1984)),
  48.                                     (first_build, (14, Jan, 1985))),
  49.                                     (Delivery, (18, Mar, 1985)));
  50.  
  51. end  Design_Requirements_Trace_Package;
  52.