Inheritance vs Interface Polymorphism (C++)
Doxygen docs for the C++ implementation
Loading...
Searching...
No Matches
Class Hierarchy

Go to the graphical class hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically:
 CAbstractAnimalAbstract base class combining shared state, a concrete default method, and a pure virtual method subclasses must implement
 CDogWithDefaultConcrete AbstractAnimal that implements the required speak() method
 CAnimalBase class exposing a virtual speak() method
 CCatAnimal subclass that overrides speak() to meow
 CDogAnimal subclass that overrides speak() to bark
 CISingleSpeakerInterface contract for a single, non-substitutable speaker
 CPureBreedDogSealed 'final' class ensures NO other subclass can modify this method path
 CISpeakerPure abstract class acting as an interface contract
 CInterfaceCatISpeaker implementation that meows
 CInterfaceDogISpeaker implementation that barks