Inheritance vs Interface Polymorphism (C)
Doxygen docs for the C implementation
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
 CAbstractAnimalAbstract base "class" combining shared state and an abstract speak function pointer
 CAnimalBase "class" simulated as a struct holding a speak function pointer
 CCat"Subclass" of Animal that meows
 CDog"Subclass" of Animal that barks
 CDogWithDefaultConcrete AbstractAnimal "subclass" that implements speak()
 CInterfaceCatISpeaker implementation that meows
 CInterfaceDogISpeaker implementation that barks
 CISpeakerInterface contract simulated as a struct holding only a function pointer
 CPureBreedDogThe sole concrete "speaker" type; no vtable is needed