← Back to Patent Explorer
US5953527A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and apparatus for mixing objective-C and C++ objects

Assignee: Oracle America Inc
•
Filing: 1996-04-23
•
Granted: 1999-09-14
•
Expires: 2016-04-23
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method and apparatus for mixing Objective-C and C++ objects includes the step of defining a common object as an Objective-C object class data structure. In addition, the common object is specified as a C++ object class data structure. Thus, the C++ object class data structure is equivalent in memory layout to the Objective-C object class data structure. A set of behavioral operations to be performed in relation to the common object are then established in either Objective-C or C++ source code. A selected behavioral operation is subsequently performed in relation to the common object in response to mixed Objective-C and C++ source code instructions.

Inventors

  • 👤 Laurence P. G. Cable

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-29 07:12
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/44; G06F9/448; G06F9/4488

Claims Analysis

Total Claims: 17
Claim 1
Independent Claim 152 words
A method executed by a computer under the control of a program, said computer including a memory storing said program, said method comprising the steps of: using a common object defined as an object class data structure in a first computer language, wherein said using step includes the step of defining said common object as a set of instance variables characterizing an Objective-C object class data structure; utilizing said common object specified as an object class data structure in a second computer language, wherein said utilizing step includes the step of specifying a C++ object class data structure by importing said set of instance variables characterizing said Objective-C object class data structure; providing a set of behavioral operations to be performed on said common object; and performing a selected behavioral operation on said common object in response to mixed source code instructions in said first computer language and said second computer language.
Claim 2
Independent Claim 152 words
A method executed by a computer under the control of a program, said computer including a memory storing said program, said method comprising the steps of: using a common object defined as an object class data structure in a first computer language, wherein said using step includes the step of defining said common object as a set of instance variables characterizing an Objective-C object class data structure; utilizing said common object specified as an object class data structure in a second computer language, wherein said utilizing step includes the step of specifying a C++ object class data structure by importing said set of instance variables characterizing said Objective-C object class data structure; providing a set of behavioral operations to be performed on said common object; and performing a selected behavioral operation on said common object in response to mixed source code instructions in said first computer language and said second computer language.
Claim 3
Dependent Claim 24 words
The method of claim 1 further comprising the step of deriving from said common object, a mixed object instance with C++ and Objective-C attributes.
Claim 4
Dependent Claim 28 words
The method of claim 1 wherein said performing step includes the step of creating and destructing an instance of said common object in response to C++ processing operations.
Claim 5
Dependent Claim 21 words
The method of claim 1 wherein said performing step includes the step of placing said common object on a program stack.
Claim 6
Dependent Claim 118 words
A computer readable storage medium used to direct a computer to function in a specified manner, comprising: executable instructions stored in said storage medium, said executable instructions including: instructions to define a common object in a computer as an Objective-C object class data structure; instructions to define in said computer said common object as a set of instance variables characterizing said Objective-C object class data structure; instructions to specify in said computer said common object as a C++ object class data structure; instructions to specify said C++ object class data structure by importing said set of instance variables; and instructions to derive in said computer, from said common object, a mixed object instance with C++ and Objective-C attributes.
Claim 7
Dependent Claim 118 words
A computer readable storage medium used to direct a computer to function in a specified manner, comprising: executable instructions stored in said storage medium, said executable instructions including: instructions to define a common object in a computer as an Objective-C object class data structure; instructions to define in said computer said common object as a set of instance variables characterizing said Objective-C object class data structure; instructions to specify in said computer said common object as a C++ object class data structure; instructions to specify said C++ object class data structure by importing said set of instance variables; and instructions to derive in said computer, from said common object, a mixed object instance with C++ and Objective-C attributes.
Claim 8
Dependent Claim 32 words
The computer readable storage medium of claim 5 further comprising executable instructions to establish a set of behavioral operations to be performed by said computer in relation to said mixed object instance.
Claim 9
Dependent Claim 33 words
The computer readable storage medium of claim 6 further comprising executable instructions to perform a selected behavioral operation on said mixed object instance in response to mixed Objective-C and C++ source code instructions.
Claim 10
Dependent Claim 22 words
The computer readable storage medium of claim 7 further comprising executable instructions to place said mixed object instance on a program stack.
Claim 11
Dependent Claim 22 words
The computer readable storage medium of claim 7 wherein executable instructions chose said selected behavioral operation from said set of behavioral operations.
Claim 12
Dependent Claim 31 words
The computer readable storage medium of claim 5 wherein said executable instructions to establish said set of behavioral operations are from a selected language from the group including C++ and Objective-C.
Claim 13
Dependent Claim 140 words
A computer, comprising: a storage medium configured to store a single common object simultaneously defined in a first computer language and a second computer language, a set of behavioral operations to be performed on said common object, and mixed source code instructions in said first computer language and said second computer language; and a processing unit connected to said storage medium, said processing unit performing a selected behavioral operation on said common object in response to said mixed source code instructions; wherein said storage medium is configured to define said common object as a set of instance variables characterizing an Objective-C object class data structure; and wherein said storage medium is configured to define said common object by specifying a C++ object class data structure through importation of said set of instance variables characterizing said Objective-C object class data structure.
Claim 14
Dependent Claim 140 words
A computer, comprising: a storage medium configured to store a single common object simultaneously defined in a first computer language and a second computer language, a set of behavioral operations to be performed on said common object, and mixed source code instructions in said first computer language and said second computer language; and a processing unit connected to said storage medium, said processing unit performing a selected behavioral operation on said common object in response to said mixed source code instructions; wherein said storage medium is configured to define said common object as a set of instance variables characterizing an Objective-C object class data structure; and wherein said storage medium is configured to define said common object by specifying a C++ object class data structure through importation of said set of instance variables characterizing said Objective-C object class data structure.
Claim 15
Dependent Claim 23 words
The apparatus of claim 11 wherein said processing unit derives from said common object, a mixed object instance with C++ and Objective-C attributes.
Claim 16
Dependent Claim 24 words
The apparatus of claim 11 wherein said processing unit creates and destroys an instance of said common object in response to C++ processing operations.
Claim 17
Dependent Claim 17 words
The apparatus of claim 11 wherein said processing unit places said common object on a program stack.

References Cited (Backward Citations)

US5481721A Cited
EP0546683A2 Cited
US5488723A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2002-09-13 2003-03-15 2003-09-14 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2006-09-13 2007-03-15 2007-09-14 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2010-09-13 2011-03-15 2011-09-14 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag