Public Member Functions | |
Chihuahua (const std::string &_name) | |
std::string | bark () const |
Chihuahua (const std::string &_name) | |
std::string | bark () const |
![]() | |
Dog (const std::string &_name, Kind _kind=Kind::Dog) | |
std::string | bark () const |
Dog (const std::string &_name, Kind _kind=Kind::Dog) | |
std::string | bark () const |
![]() | |
virtual | ~Animal ()=default |
virtual | ~Animal ()=default |
Additional Inherited Members | |
![]() | |
enum class | Kind { Unknown = 0 , Dog = 100 , Labrador , Chihuahua , LastDog = 199 , Cat = 200 , Panther , LastCat = 299 , Unknown = 0 , Dog = 100 , Labrador , Chihuahua , LastDog = 199 , Cat = 200 , Panther , LastCat = 299 } |
enum class | Kind { Unknown = 0 , Dog = 100 , Labrador , Chihuahua , LastDog = 199 , Cat = 200 , Panther , LastCat = 299 , Unknown = 0 , Dog = 100 , Labrador , Chihuahua , LastDog = 199 , Cat = 200 , Panther , LastCat = 299 } |
![]() | |
static const std::type_info * | type_of_kind (Kind kind) |
static std::string | name_of_kind (Kind kind) |
static const std::type_info * | type_of_kind (Kind kind) |
static std::string | name_of_kind (Kind kind) |
![]() | |
std::string | sound = "WOOF!" |
![]() | |
const Kind | kind |
const std::string | name |
![]() | |
Animal (const std::string &_name, Kind _kind) | |
Animal (const std::string &_name, Kind _kind) | |
Definition at line 53 of file test_tagbased_polymorphic.cpp.
|
inlineexplicit |
Definition at line 54 of file test_tagbased_polymorphic.cpp.
References Dog::sound.
|
inlineexplicit |
Definition at line 54 of file test_tagbased_polymorphic.cpp.
References Dog::sound.
|
inline |
Definition at line 57 of file test_tagbased_polymorphic.cpp.
References Dog::bark().
Referenced by TEST_SUBMODULE().
|
inline |
Definition at line 57 of file test_tagbased_polymorphic.cpp.
References Dog::bark().