MCPcopy Create free account
hub / github.com/MTG/essentia / getStruct

Method getStruct

src/python/pyalgorithm.cpp:470–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468
469
470PyObject* PyAlgorithm::getStruct(PyAlgorithm* self) {
471 const AlgorithmInfo<Algorithm>& inf = AlgorithmFactory::getInfo(self->algo->name());
472 return generateDocStruct<Algorithm>(*(self->algo), inf.description);
473}
474
475static PyMethodDef PyAlgorithm_methods[] = {
476 { "name", (PyCFunction)PyAlgorithm::name, METH_NOARGS,

Callers 2

_create_essentia_classFunction · 0.45
_create_streaming_algoFunction · 0.45

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected