Skip to main content

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”.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics