Abstract
As already explained in Chapter 9, object-oriented programming is mainly characterized by the features encapsulation, dynamic binding, and inheritance. The introduced classes in Chapter 11 show implementations of ADT’s (section 9.3). They serve for the realization of encapsulation. In this chapter we give a detailed description of the fundamental and powerful principles of inheritance and their implementation in C++. We introduce the concepts for both simple inheritance and — its more complicated form — multiple inheritance. With the use of inheritance, the real world dependency structure of objects can be mapped into a C++ class hierarchy in a “natural manner”.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 1995 Friedr. Vieweg & Sohn Verlagsgesellschaft mbH, Braunschweig/Wiesbaden
About this chapter
Cite this chapter
Paulus, D.W.R., Hornegger, J. (1995). Inheritance in C++—Classes. In: Pattern Recognition and Image Processing in C++. Vieweg+Teubner Verlag. https://doi.org/10.1007/978-3-322-87867-0_12
Download citation
DOI: https://doi.org/10.1007/978-3-322-87867-0_12
Publisher Name: Vieweg+Teubner Verlag
Print ISBN: 978-3-528-05491-5
Online ISBN: 978-3-322-87867-0
eBook Packages: Springer Book Archive