System and method supporting property values as options
Abstract
A class includes fields to support values of properties in preallocated memory space and an option data structure which supports, in instances of the class, references to option values without preallocation of memory space. The field and option values are accessed in an instance object of the class using expressions of the same syntactic form. During compilation, the compiler checks the type of an option value against a type description within the option data structure. During compilation, a method call to an object is encoded without regard to the form of the option data structure. When an option value is changed, a change handler identified by an option binding of the data structure is processed. That option binding may be located by first searching a mapping data structure for a previously computed mapping to the option binding or by computing the mapping to the option binding.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of processing data comprising: defining an instance of a class, the class having defined fields, each of the defined fields having a field value, a field name, and a field data type, wherein memory space for each field value is allocated when the instance of the class is created, and defined options, each of the defined options having an option value, an option name, and an option data type, wherein memory space for the option value is allocated when each of the options corresponding to the option value is optionally associated with the instance of the class; accessing field values an
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (26)
Non-Patent Literature (5)
- "FAQ's, GUI Toolkit" Curl Corp. website http://www.curl.com/developers/faq<SUB>-</SUB>gui.php? 1998-2003.
- Aho et al, "Compilers principles, techiniques, and tools," 1988, Bell.
- Alfred V. Aho, et al., "Run-Time Environments," Compilers: Principles, Techniques and Tools, Chapter 7 (MA:Addison-Wesley Longman), pp. 389-455 (1998).
- Archetype Base Class for [incr Tk], "itk:: Archetype" <http://incrtcl.sourceforge.net/itk/Archetype.html> (accessed Jan. 12, 2004).
- Archetype, "Archetype-base class for all [incr Tk] mega-widgets" Nov. 16, 1999, [retrieved Aug. 19, 2004]. http://sourceforge.net/project/showfiles.php?group<SUB>-</SUB>id=13244.