We are using cookies to give you the best experience on our site. Cookies are files stored in your browser and are used by most websites to help personalise your web experience.
By continuing to use our website without changing the settings, you are agreeing to our use of cookies.


From The Concept-Oriented Portal
Jump to: navigation, search

In COP-I and COP-II, object is one half of an element where an element is defined as a couple consisting of one reference and one object. Reference is an instance of a reference class and object is an instance of an object class.

In COP-III, an object is defined as a number of functions of a reference. This approach is more general and the previous definition is its particular case. Here concepts produce values as their instances and in this sense they are similar to classes in C++. The duality between references and objects is modeled via incoming and outgoing methods of concepts. Outgoing methods are supposed to model objects. A return value of an outgoing method is interpreted as one field of this object.

Personal tools
Google AdSense