Browse Prior Art Database

Data Structure Cross-Reference Utility

IP.com Disclosure Number: IPCOM000104370D
Original Publication Date: 1993-Apr-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 4 page(s) / 86K

Publishing Venue

IBM

Related People

Johnson, WJ: AUTHOR [+2]

Abstract

A successful programming project involves the successful management of source modules and header files. As projects become large, the task of managing data structures within numerous header files may become overwhelming. A programmer typically issues a long series of search commands to isolate a single data structure and determine its meaning. This method is inefficient and extremely time-consuming.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 44% of the total text.

Data Structure Cross-Reference Utility

      A successful programming project involves the successful
management of source modules and header files.  As projects become
large, the task of managing data structures within numerous header
files may become overwhelming.  A programmer typically issues a long
series of search commands to isolate a single data structure and
determine its meaning.  This method is inefficient and extremely
time-consuming.

      This article describes a new programming utility.  A set of
header files is analyzed and then graphically displayed to the
programmer.

      The cross-reference utility may be used in both the design and
development stage of a programming project.  This utility is a
windowed application that is composed of two parts: a logic kernel
and a graphical user interface (GUI).  Both parts are contained in a
single EXE file that is run from the command line.

      The GUI allows the programmer to define a set of header files
onscreen.  A standard "open dialog" allows the user to navigate
through the disk directory and select header files from a listbox.
Once the set is defined, a menu command or accelerator key invokes
the logic kernel over the headers.

      The logic kernel then retrieves and analyzes the specified
files.  This part of the utility is essentially a compiler which
determines hierarchical calling sequences between data structures.  A
binary output file is produced which records these relationships in
an internal format.

      The GUI is then used to graphically display the contents of the
binary file.  Each data structure is listed in the client area of the
cross reference utility window.  The header file in which the data
structure appears is displayed at the right-hand side of each listed
item:

+-+----------------------------------+-+-+
|-| Data Structure Cross Reference   |V|A| <--- Title Bar
+-+----------------------------------+-+-+
|File  Help                              | <--- Menu
+--------------------------------------+-+
| (+) FATTRS                    OS2.H  |A|
|    |                                 +-+
| (+) FONTMETRICS               OS2.H  | | <--- Client area
|    |                                 | |
| (+) RECTL                     OS2.H  | |      (list of data
|                                      | |       structures in
|                                      | |       the header file
|                                      +-+       set)
|                                      |V|
+--------------------------------------+-+

      The listbox containing the data structure names is a "tree
structure list"...