Object property meta model emulator for legacy data structures
First Claim
Patent Images
1. A method of manipulating an attribute of a legacy data structure, said method comprising:
- (a) receiving a pointer to a wrapper object that is bound to the legacy data structure;
(b) defining a component wrapper class;
(c) querying the wrapper class about the presence of a pseudo property; and
(d) creating an object having access to the pseudo property (e) defining pseudo-property policy classes for each attribute type being manipulated;
(f) reusing the pseudo-property policy classes to represent related attributes in the distinct data structures.
3 Assignments
0 Petitions
Accused Products
Abstract
A method of wrapping legacy data structures enables the data structures to be used with an object-oriented program and enables a single object to access related attributes in multiple legacy data structures. In one embodiment, an interface class is defined for each pseudo property to be represented. A C++ wrapper is built around each legacy data structure that implements the interface that was defined in the abstract pseudo property class.
-
Citations
8 Claims
-
1. A method of manipulating an attribute of a legacy data structure, said method comprising:
-
(a) receiving a pointer to a wrapper object that is bound to the legacy data structure;
(b) defining a component wrapper class;
(c) querying the wrapper class about the presence of a pseudo property; and
(d) creating an object having access to the pseudo property (e) defining pseudo-property policy classes for each attribute type being manipulated;
(f) reusing the pseudo-property policy classes to represent related attributes in the distinct data structures. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of manipulating attributes of legacy data structures, said method comprising:
-
(a) defining a base wrapper class;
(b) defining pseudo-property policy classes for each attribute type being manipulated;
(c) defining one or more wrapper classes for each distinct set of legacy data structures to be manipulated;
(d) basing each of the wrapper classes on the base wrapper class;
(e) basing each of the wrapper classes on the pseudo-property policy classes;
(f) reusing the pseudo-property policy classes to represent related attributes in the distinct data structures;
(g) creating an object that manipulates the base wrapper class;
(h) querying the wrapper classes about the presence of the pseudo-property; and
(i) manipulating attributes in the data structures via the pseudo-properties implemented in a wrapper object.
-
Specification