C++ Library Extensions 2022.12.09
To help learn modern C++ programming
Canis Class Referenceabstract
Inheritance diagram for Canis:
[legend]
Collaboration diagram for Canis:
[legend]

Public Member Functions

virtual void bark ()=0
 
void species () override
 
- Public Member Functions inherited from Animal
virtual void species ()=0
 
virtual void speak ()=0
 
virtual ~Animal ()=default
 

Detailed Description

Definition at line 42 of file 27-dynamic_polymorphism.cpp.

Member Function Documentation

◆ bark()

virtual void Canis::bark ( )
pure virtual

Implemented in Wolf, Dog, JindoDog, and ChowChow.

Here is the caller graph for this function:

◆ species()

void Canis::species ( )
inlineoverridevirtual

Implements Animal.

Definition at line 48 of file 27-dynamic_polymorphism.cpp.


The documentation for this class was generated from the following file: