Browse Prior Art Database

Function for Determining the Value for a Particular Property

IP.com Disclosure Number: IPCOM000103339D
Original Publication Date: 1990-Oct-01
Included in the Prior Art Database: 2005-Mar-17
Document File: 1 page(s) / 41K

Publishing Venue

IBM

Related People

Barrett, G: AUTHOR [+4]

Abstract

This article describes a function that provides a simple method for retrieving the value of a property. A simple API is required that allows applications to search a hierarchical group of named global variable pools for the value of a specific property and return the correct value.

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

Function for Determining the Value for a Particular Property

      This article describes a function that provides a simple method
for retrieving the value of a property.  A simple API is required
that allows applications to search a hierarchical group of named
global variable pools for the value of a specific property and return
the correct value.

      The office applications should use the Common Services Variable
Pool services to create and maintain named global variable pools.
Within the object instance pool is placed the named variables
containing the name of the object Template variable pool and the
Office window variable pool. A function will be provided to search
for the value for a particular property.  The function would have 3
parameters, the first is the name of the variable, the second is the
pool name it is starting search from (i.e.  the object instance pool
name), the last parameter is whether to go on beyond the immediate
level (i.e., Template level and then Office window level).  Note,
because the names of the object Template pool and the Office pool are
within the object instance pool they do not have to be passed as
parameters.

      Applications representing the object instances will have a
simple interface for retrieving property values.  By placing the next
succeeding pool names within the current variable pool the burden of
knowing the full extent of the hierarchy is lifted from the
application.  It only has to insure that its ne...