Patents
US 7,165,237 B2#28173595 Most CitedExpiredUnited States (USPTO)Utility

Data store for arbitrary data types with type safe storage and retrieval

3Forward Citations (#28173595 Global)
0.2/yrCitation Velocity (#37976154 Global)
1.62Citation PageRank (#20310598 Global)
11Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A compile-time data store that contains arbitrary data types is accessed via methods that ensure type safety. A type construct (e.g., a C++ template) is instantiated at compile time and generates a data store that contains arbitrarily-typed data objects, such as integers, characters, pointers and so forth. The construct includes a Put method to put any element (object) of a listed type (e.g., of a typelist) in the data store, and a Get method to retrieve the element from the data store. The Put method maintains a type index in association with each stored in the data store. The Get method validates that the type of object that was requested in the call to the Get method matches the object type that was stored in the Put method. When run, the Get method returns the element data upon a type match, otherwise the Get method generates an exception.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 3.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a computer system, a method, comprising: receiving requests from a compiler compiling source code, including requests to store elements of at least two different data types, and requests to retrieve at least some of the stored elements; executing storage method code in response to a request to store an element having a data type and a key, the storage method code storing the element in a data store according to the key and in association with data type information; and executing retrieval method code in response to a request to retrieve an element based on its key, the retrieval method code

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • "Compiler Principles, Techniques and Tools", Alfred Aho et al., published Sep. 12, 1985, Chapters 1-6.
  • A Genetic Algorithm for Optimising Problems With Multiple Disparate Data Types, Gary M. Gibson, ACM, 1995, pp. 300-304.
  • Designing Families of Data Types Using Exemplars, Wilf R. LaLonde, ACM, 1989, pp. 212-248.
  • On Understanding Types, Data Abstraction and Polymorphism, Luca Cardelli et al, ACM, 1986, pp. 471-522.
  • Rational Rose/C++ Round Trip Engineering with Rational Rose/C++, Rational Software Corporation, 1996, whole manual.