Process for verifying GDMO template references and for providing an ordered list of GDMO templates
AssigneeInternational Business Machines Corporation
InventorJeremy P. Goodwin
Life of this patent
Estimating the term…
Abstract
In a compiler for the GDMO language, a verified and ordered output list of GDMO templates is provided by a method that lists each template in the output list such that all listed templates are preceded in the list by templates that are referenced by a listed template.
Claims16
In a computer-related data processing method for generating a reference ordered GDMO template output list from an input that comprises a GDMO template input list, said input list containing groups of templates including Group-A templates that cannot reference any other GDMO templates, Group-B templates that can reference other GDMO templates, Group-C templates that can reference other GDMO templates and can also reference templates of its own Group-C, Group-D templates that can reference other GDMO templates and can also be referenced by a template to whom it is allowed to reference, Group-E templates that can reference other GDMO templates and can also be referenced by a template to whom it is allowed to reference and can also reference templates of its own Group-E, and Group-F templates that can reference other GDMO templates can also reference templates of Group-C Group-D and Group-E, the method comprising the sequential data processing steps of;
- placing said Group-A templates from said input list on said output list,
- placing said Group-D and Group-E templates from said input list on said output list in an intermixed manner that insures that each individual template of said Group-D and Group-E templates occupies a position on said output list such that all templates that are referenced by each said individual template precedes each said individual template in said output list,
- placing said Group-B templates from said input list on said output list in a manner that insures that each individual template of said Group-B templates occupies a position on said output list such that all templates that are referenced by each said individual template precedes each said individual template in said output list,
- placing said Group-C templates from said input list on said output list in a manner that insures that each individual template of said Group-C templates occupies a position on said output list such that all templates that are referenced by each said individual template precedes each said individual template in said output list, and
- placing said Group-F templates from said input list on said output list.
In a machine-related process for generating an ordered output list of GDMO templates that supports referencing specified by GDMO templates that are contained in an input list, said input list containing GDMO templates that are selected from the GDMO template group Behavior, Parameter, Attribute, Attribute Group, Action, Notification, Package, Managed Object Class, and Name Binding, the machine-related process comprising the sequential steps of;
- placing all Behavior templates that are in said input list on said output list, placing all Parameter and Attribute templates that are in said input list on said output list in an intermixed manner that insures that any Parameter or Attribute template that provides reference to another Parameter or Attribute template precedes said another Parameter or Attribute template in said output list,
- placing all Attribute Group, Action, Notification and Package templates that are in said input list on said output list in a manner that insures that each individual template thereof occupies a position on said output list such that all templates that provide reference to a said template precede said template in said output list,
- placing all Managed Object Class templates that are in said input list on said output list in a manner that insures that each Managed Object Class template that provides reference to another Managed Object Class template occupies a position on said output list that precedes said another Managed Object Class template in said output list, and
- placing all Name Binding templates that are in said input list on said output list.
In a machine-related process for machine-generating an ordered output list of Parameter and Attribute GDMO templates whose order supports Parameter and Attribute template referencing that is specified by the Parameter and Attribute templates that are listed in an input list, wherein said Parameter and Attribute templates in said input list may reference each other, and wherein any individual Attribute template in said input list may reference another Attribute template in said input list, the process comprising the sequential step of;
- fetching a Parameter or Attribute template from said input list,
- reference checking to determine if the referencing that is specified by said fetched template can be satisfied by templates that are on said output list,
- if said referencing cannot be satisfied, fetch another template from said input list, and repeat said reference checking step,
- if said referencing can be satisfied, moving said fetched template from said input list to said output list, fetching another Parameter or Attribute template from said input list, and repeat said reference checking step, and
- repeating said process until all templates in said input list have been moved from said input list to said output list.
In a computer-related process for computer-generating an ordered output list of Managed Object Class GDMO templates whose order supports a Managed Object Class template referencing that is specified by the Managed Object Class templates that are in an input list that is supplied an input to the computer-related process, wherein said Managed Object Class templates in said input list may reference another Managed Object Class template in said input list, the process comprising the sequential computer-related steps of;
- finding a Managed Object Class named Top in said input list,
- moving said Managed Object Class named Top from said input list to said output list,
- fetching a template from said input list,
- reference checking to determine if the referencing that is required by said fetched template can be satisfied by templates that are on said output list,
- if said referencing cannot be satisfied, fetching another template from said input list, and repeating said reference checking step,
- if said referencing can be satisfied, moving said fetched template from said input list to said output list, fetching another template from said input list, and repeat said reference checking step, and
- repeating said computer-related process until all templates in said input list have been moved to said output list.
In a machine-related process for machine-generating an ordered output list of GDMO templates whose order supports template referencing that is specified by the templates that are listed in an input list, wherein said templates in said input list may reference another template in said input list, the process comprising the sequential steps of;
- fetching a template from said input list,
- reference checking to determine if the referencing that is required by said fetched template can be satisfied by templates that are on said output list,
- if said referencing cannot be satisfied, fetching another template from said input list, and repeating said reference checking step,
- if said referencing can be satisfied, moving said fetched template from said input list to said output list, fetching another template from said input list, and repeating said reference checking step, and
- repeating said process until all templates in said input list have been moved to said output list.
In a computer-related GDMO-process for computer-generating a reference-ordered GDMO-template output-list from a GDMO-template input-list that is not reference-ordered, comprising the steps of;
- checking each individual input-list GDMO-template to determine GDMO-referencing specified therein, and
- placing each of said individual input-list GDMO-templates in said output-list in a reference-order such that each of said individual output-list GDMO-templates is preceded in said output-list by GDMO-templates that are GDMO-referenced therein.
Dependencies are inferred from the claim text.