Searched refs:Cat (Results 1 - 4 of 4) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_tagbased_polymorphic.cpp | 18 Cat = 200, Panther, LastCat = 299 member in class:Animal::Kind 52 struct Cat : Animal struct in struct:Animal 54 Cat(const std::string& _name, Kind _kind = Kind::Cat) : Animal(_name, _kind) {} function in struct:Animal::Cat 58 struct Panther : Cat 60 Panther(const std::string& _name) : Cat(_name, Kind::Panther) {} 75 ret.emplace_back(new Cat("Tiger", Cat::Kind::Cat)); 90 case Kind::Cat [all...] |
H A D | test_tagbased_polymorphic.py | 7 m.Labrador, m.Dog, m.Chihuahua, m.Cat, m.Panther
|
H A D | test_local_bindings.cpp | 89 class Cat : public pets::Pet { public: Cat(std::string name) : Pet(name) {}; }; function in class:Cat 93 py::class_<Cat, pets::Pet>(m, "Cat")
|
H A D | test_local_bindings.py | 200 mycat = m.Cat("Fluffy") 204 assert m.Cat.__base__.__name__ == "Pet" 206 assert m.Cat.__base__ is not cm.Dog.__base__
|
Completed in 11 milliseconds