Home
last modified time | relevance | path

Searched refs:DynamicClass (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_methods_and_attributes.cpp295 class DynamicClass { in TEST_SUBMODULE() class
297 DynamicClass() { print_default_created(this); } in TEST_SUBMODULE() function in TEST_SUBMODULE::DynamicClass
298 DynamicClass(const DynamicClass&) = delete; in TEST_SUBMODULE()
299 ~DynamicClass() { print_destroyed(this); } in TEST_SUBMODULE()
301 py::class_<DynamicClass>(m, "DynamicClass", py::dynamic_attr()) in TEST_SUBMODULE()
304 class CppDerivedDynamicClass : public DynamicClass { }; in TEST_SUBMODULE()
305 py::class_<CppDerivedDynamicClass, DynamicClass>(m, "CppDerivedDynamicClass") in TEST_SUBMODULE()
Dtest_methods_and_attributes.py286 instance = m.DynamicClass()
306 cstats = ConstructorStats.get(m.DynamicClass)
312 class PythonDerivedDynamicClass(m.DynamicClass):
329 instance = m.DynamicClass()
332 cstats = ConstructorStats.get(m.DynamicClass)
338 i1 = m.DynamicClass()
339 i2 = m.DynamicClass()