MCPcopy Create free account
hub / github.com/bab2min/tomotopy / getInstDynamic

Method getInstDynamic

src/python/handler/module.h:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64 template<class Ty>
65 Ty* getInstDynamic() const
66 {
67 if (!inst) throw py::RuntimeError{ "inst is null" };
68 return dynamic_cast<Ty*>(inst.get());
69 }
70
71 PyObject* getObject() const
72 {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected