![]() |
Scarab
v2.9.1
Project 8 C++ Utility Library
|

Public Member Functions | |
| Dog (const std::string &_name, Kind _kind=Kind::Dog) | |
| std::string | bark () const |
Public Attributes | |
| std::string | sound = "WOOF!" |
Public Attributes inherited from Animal | |
| const Kind | kind |
| const std::string | name |
Additional Inherited Members | |
Public Types inherited from Animal | |
| enum | Kind { Unknown = 0, Dog = 100, Labrador, Chihuahua, LastDog = 199, Cat = 200, Panther, LastCat = 299 } |
Static Public Member Functions inherited from Animal | |
| static const std::type_info * | type_of_kind (Kind kind) |
| static std::string | name_of_kind (Kind kind) |
Protected Member Functions inherited from Animal | |
| Animal (const std::string &_name, Kind _kind) | |
Definition at line 32 of file test_tagbased_polymorphic.cpp.
Definition at line 34 of file test_tagbased_polymorphic.cpp.
|
inline |
Definition at line 35 of file test_tagbased_polymorphic.cpp.
| std::string sound = "WOOF!" |
Definition at line 36 of file test_tagbased_polymorphic.cpp.
1.8.13