| 333 | } |
| 334 | |
| 335 | PyObject* PyStreamingAlgorithm::getStruct(PyStreamingAlgorithm* self) { |
| 336 | const AlgorithmInfo<streaming::Algorithm>& inf = streaming::AlgorithmFactory::getInfo(self->algo->name()); |
| 337 | return generateDocStruct<streaming::Algorithm>(*(self->algo), inf.description); |
| 338 | } |
| 339 | |
| 340 | static PyMethodDef PyStreamingAlgorithm_methods[] = { |
| 341 | { "name", (PyCFunction)PyStreamingAlgorithm::name, METH_NOARGS, |