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

Public Member Functions

void bark () override
 
void speak () override
 
- Public Member Functions inherited from Dog
void operator() () const
 
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
 

Additional Inherited Members

- Public Attributes inherited from Dog
std::string m_name
 

Detailed Description

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

Member Function Documentation

◆ bark()

void ChowChow::bark ( )
inlineoverridevirtual

Reimplemented from Dog.

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

Here is the caller graph for this function:

◆ speak()

void ChowChow::speak ( )
inlineoverridevirtual

Reimplemented from Dog.

Definition at line 112 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: