Searched refs:Labrador (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_tagbased_polymorphic.cpp17 Dog = 100, Labrador, Chihuahua, LastDog = 199, member in class:Animal::Kind
39 struct Labrador : Dog struct in struct:Animal
41 Labrador(const std::string& _name, int _excitement = 9001) function in struct:Animal::Labrador
42 : Dog(_name, Kind::Labrador), excitement(_excitement) {}
67 ret.emplace_back(new Labrador("Fido", 15000));
86 case Kind::Labrador: return &typeid(Labrador);
123 py::class_<Labrador, Dog>(m, "Labrador")
125 .def_readwrite("excitement", &Labrador
[all...]
H A Dtest_tagbased_polymorphic.py7 m.Labrador, m.Dog, m.Chihuahua, m.Cat, m.Panther
14 "Labrador Fido goes WOOF!",

Completed in 5 milliseconds