×

Design pattern for choice types in object oriented languages

  • US 20080040360A1
  • Filed: 08/14/2006
  • Published: 02/14/2008
  • Est. Priority Date: 08/14/2006
  • Status: Abandoned Application
First Claim
Patent Images

1. A computer readable medium having computer-executable instructions for performing steps comprising:

  • receiving a plurality of type inputs defining a plurality of object types;

    receiving a choice type input defining a choice type, the choice type input designating the plurality of object types as a plurality of branch types; and

    associating the plurality of branch types with the choice type such that the choice type is a type-indexed sum of the plurality of branch types, whereby, at any particular time, any particular instance of the first choice type is defined by exactly one of the first plurality of branch types.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×