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

Method get

src/python/handler/PyUtils.h:2678–2687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2676
2677 template<T ptr>
2678 static constexpr getter get()
2679 {
2680 return (getter)[](PyObject* self, void* closure)->PyObject*
2681 {
2682 return handleExc([&]()
2683 {
2684 return buildPyValue(Base::template get<ptr>((typename Base::ClassPtrOrFirstArgType)self)).release();
2685 });
2686 };
2687 }
2688
2689 template<T ptr>
2690 static constexpr setter set()

Callers

nothing calls this directly

Calls 3

handleExcFunction · 0.85
buildPyValueFunction · 0.70
releaseMethod · 0.45

Tested by

no test coverage detected