2. Design strategies
In this section, we analyze the consequences of using certain C++ concepts in the development and maintenance of object-oriented applications.
2.1 Private domains
Members of a class belonging to a private domain can only be accessed by a member function of the same class or by functions outside the class, but specified friend by the class owner. This means that functions belonging to classes defined by inheritance will not have access to these private members.
When designing a class, we always have to think about the evolutions that might be necessary later on. Can we think of them all? How can we reconcile taking these evolutions into account, in general, through inheritance and the reprogramming of certain processes, with the fact that...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Design strategies
Bibliography
References
Website
Barne Stroustrup http://www.research.att.com/~bs/applications.html
Standard
- Programming languages – C++ - ISO/IEC 14882 - 1998
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference