Boots – shoes – and leggings
Patent
1992-04-09
1995-07-11
Black, Thomas G.
Boots, shoes, and leggings
3642804, 364DIG1, G06F 945
Patent
active
054329361
ABSTRACT:
A method and system in an object-oriented environment for determining the offset of a data member of a derived class when the derived class has a virtually inherited base class and the data member is defined in the base class. In a preferred embodiment, the base class has a data structure and a class address. The base class data structure has the data member located at a data member offset from the base class address. The derived class has a data structure and a class address. The derived class data structure includes an occurrence of the base class data structure. The occurrence of the base class data structure is located at a base class offset from the derived class address. In a preferred embodiment, the base class offset is stored at a memory location, a first field and a second field for a pointer to the data member are allocated, the data member offset is stored in the first field, an indicator of the stored base class offset is stored in the second field, the pointer is dereferenced by retrieving the base class offset using the indicator stored in the second field, retrieving the data member offset from the first field, and adding the retrieved base class offset to the retrieved data member offset to give the offset of the data member within the derived data structure.
REFERENCES:
patent: 5093914 (1992-03-01), Coplien et al.
patent: 5129083 (1992-07-01), Cutler et al.
patent: 5187786 (1993-02-01), Densmore et al.
patent: 5206951 (1993-04-01), Khuyi et al.
patent: 5295256 (1994-03-01), Bapat
patent: 5297279 (1994-03-01), Bannon et al.
patent: 5297284 (1994-03-01), Jones et al.
patent: 5307499 (1994-04-01), Yin
patent: 5361351 (1994-11-01), Lenkov et al.
patent: 5371891 (1994-12-01), Gray et al.
USENIX C++ Conference Proceedings, USENIX Association, Washington, D.C., Apr. 22-25, 1991, pp. 1-11.
Ellis, Margaret A., and Bjarne Stroustrup, The Annotated C+ Reference Manual, Addison-Wesley Publishing Company, New York, 1990, pp. 155-161.
Gray Jan
Jones D. T.
O'Riordan Martin
Black Thomas G.
Microsoft Corporation
Von Buhr Maria N.
LandOfFree
Method for implementing pointers to members in a compiler for an does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Method for implementing pointers to members in a compiler for an, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method for implementing pointers to members in a compiler for an will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-510972