Patent ID: 6986144
Filing Date: 2006-01-10
Classification: G06F

Abstract:
1. A computer-based process for enabling access in an object-oriented computing environment by an instance of a first class to a selected protected resource of an instance of a second class, the computer-based process comprising: defining a third class that includes a protected virtual method for accessing the selected protected resource; defining the first class as a subclass of the third class such that the first class inherits from the third class the protected virtual method for the selected protected resource and a pointer to an instance of the second class; defining the second class as a subclass of the third class such that the second class inherits from the third class and implements the protected virtual method for accessing the selected protected resource by overloading that method to create an overloaded method; and calling an access-resource method by an instance of the first class, wherein the access-resource method uses the pointer to the instance of the second class and the overloaded method to access the resource.