Method for saving and restoring data in software objects
First Claim
Patent Images
1. A method for automatically saving and restoring data contained in a data storage object in an object-oriented software environment, comprising the steps of:
- creating a checkpoint object within a user function;
registering, with the checkpoint object, data fields in the storage object that are to be modified;
creating a temporary copy of the fields in the storage object, including data values for the fields, that are to be modified by said user function; and
restoring the data values in the data storage object to their original states, using the data values stored in said temporary copy, when an exit is taken from the user function, after the data values of the fields in the storage object have been modified.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for saving and automatically restoring data contained in an object in an object-oriented software environment. The method creates a ‘checkpoint object’ with a pointer to the object of interest, and a copy of the fields in the storage object that are to be saved. After a system user has completed modifications to data values in the object, the checkpoint object is destroyed, which automatically causes all of the data values in the storage object to be restored to their original states.
20 Citations
21 Claims
-
1. A method for automatically saving and restoring data contained in a data storage object in an object-oriented software environment, comprising the steps of:
-
creating a checkpoint object within a user function;
registering, with the checkpoint object, data fields in the storage object that are to be modified;
creating a temporary copy of the fields in the storage object, including data values for the fields, that are to be modified by said user function; and
restoring the data values in the data storage object to their original states, using the data values stored in said temporary copy, when an exit is taken from the user function, after the data values of the fields in the storage object have been modified. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for automatically saving and restoring data contained in a data storage object in an object-oriented software environment, comprising:
-
a checkpoint object having a pointer to the data storage object, for creating a copy of fields in the data storage object, including associated data values, that are to be modified; and
a destructor function invoked after modifications to the data values in the storage object are completed, to thereby cause all of the data values in the data storage object to be restored to their original states. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method for automatically saving and restoring data contained in a data storage object in an object-oriented software environment, comprising the steps of:
-
creating a checkpoint object with a pointer to the data storage object;
creating a destructor function for the checkpoint object class;
creating a temporary copy of data fields in the storage object that are to be modified, including data values associated therewith; and
restoring all of the data values in the data storage to the data values stored in said temporary copy, using the destructor function, after the data values of the fields in the storage object have been modified. - View Dependent Claims (16, 17, 18, 19, 20)
-
-
21. A system for automatically saving and restoring data contained in a data storage object in an object-oriented software environment, comprising:
-
means for creating a checkpoint object within a user function;
means for registering, with the checkpoint object, data fields in the storage object that are to be modified;
means for creating a temporary copy of the fields in the storage object, including data values for the fields, that are to be modified by said user function; and
means for restoring the data values in the data storage object to their original states, using the data values stored in said temporary copy, when an exit is taken from the user function, after the data values of the fields in the storage object have been modified.
-
Specification