Public Member Functions | |
| Cat (const std::string &_name, Kind _kind=Kind::Cat) | |
| std::string | purr () const |
| Cat (const std::string &_name, Kind _kind=Kind::Cat) | |
| std::string | purr () const |
Public Member Functions inherited from Animal | |
| virtual | ~Animal ()=default |
| virtual | ~Animal ()=default |
Additional Inherited Members | |
Public Types inherited from Animal | |
| 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 Public Member Functions inherited from Animal | |
| 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) |
Public Attributes inherited from Animal | |
| const Kind | kind |
| const std::string | name |
Protected Member Functions inherited from Animal | |
| Animal (const std::string &_name, Kind _kind) | |
| Animal (const std::string &_name, Kind _kind) | |
Definition at line 60 of file test_tagbased_polymorphic.cpp.
|
inlineexplicit |
Definition at line 61 of file test_tagbased_polymorphic.cpp.
|
inlineexplicit |
Definition at line 61 of file test_tagbased_polymorphic.cpp.
|
inline |
Definition at line 62 of file test_tagbased_polymorphic.cpp.
Referenced by TEST_SUBMODULE().
|
inline |
Definition at line 62 of file test_tagbased_polymorphic.cpp.