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

Public Member Functions

void bark () override
 
void speak () override
 
- Public Member Functions inherited from Canis
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 55 of file 27-dynamic_polymorphism.cpp.

Member Function Documentation

◆ bark()

void Wolf::bark ( )
inlineoverridevirtual

Implements Canis.

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

Here is the caller graph for this function:

◆ speak()

void Wolf::speak ( )
inlineoverridevirtual

Implements Animal.

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

Here is the call graph for this function:

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