|
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
} |
|
◆ Kind [1/2]
Enumerator |
---|
Unknown | |
Dog | |
Labrador | |
Chihuahua | |
LastDog | |
Cat | |
Panther | |
LastCat | |
Unknown | |
Dog | |
Labrador | |
Chihuahua | |
LastDog | |
Cat | |
Panther | |
LastCat | |
Definition at line 21 of file test_tagbased_polymorphic.cpp.
◆ Kind [2/2]
Enumerator |
---|
Unknown | |
Dog | |
Labrador | |
Chihuahua | |
LastDog | |
Cat | |
Panther | |
LastCat | |
Unknown | |
Dog | |
Labrador | |
Chihuahua | |
LastDog | |
Cat | |
Panther | |
LastCat | |
Definition at line 21 of file test_tagbased_polymorphic.cpp.
◆ ~Animal() [1/2]
virtual Animal::~Animal |
( |
| ) |
|
|
virtualdefault |
◆ Animal() [1/2]
Animal::Animal |
( |
const std::string & |
_name, |
|
|
Kind |
_kind |
|
) |
| |
|
inlineprotected |
◆ ~Animal() [2/2]
virtual Animal::~Animal |
( |
| ) |
|
|
virtualdefault |
◆ Animal() [2/2]
Animal::Animal |
( |
const std::string & |
_name, |
|
|
Kind |
_kind |
|
) |
| |
|
inlineprotected |
◆ name_of_kind() [1/2]
std::string Animal::name_of_kind |
( |
Kind |
kind | ) |
|
|
static |
◆ name_of_kind() [2/2]
static std::string Animal::name_of_kind |
( |
Kind |
kind | ) |
|
|
static |
◆ type_of_kind() [1/2]
const std::type_info * Animal::type_of_kind |
( |
Kind |
kind | ) |
|
|
static |
Definition at line 85 of file test_tagbased_polymorphic.cpp.
References Cat, Chihuahua, Dog, kind, Labrador, LastCat, LastDog, Panther, and Unknown.
Referenced by pybind11::polymorphic_type_hook< itype, detail::enable_if_t< std::is_base_of< Animal, itype >::value > >::get(), PYBIND11_NAMESPACE::polymorphic_type_hook< itype, detail::enable_if_t< std::is_base_of< Animal, itype >::value > >::get(), and name_of_kind().
◆ type_of_kind() [2/2]
static const std::type_info * Animal::type_of_kind |
( |
Kind |
kind | ) |
|
|
static |
◆ kind
◆ name
const std::string Animal::name |
The documentation for this struct was generated from the following files: