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

/gem5/ext/pybind11/tests/
H A Dtest_tagbased_polymorphic.py12 zoo[1].sound = "woooooo"
H A Dtest_tagbased_polymorphic.cpp35 std::string bark() const { return name_of_kind(kind) + " " + name + " goes " + sound; }
36 std::string sound = "WOOF!"; member in struct:Animal::Dog
48 Chihuahua(const std::string& _name) : Dog(_name, Kind::Chihuahua) { sound = "iyiyiyiyiyi"; }
121 .def_readwrite("sound", &Dog::sound)

Completed in 4 milliseconds