Open-source cheminformatics and machine learning.
Class to hold sequences (lists, tuples, arrays, etc.) passed from Python -> C++. More...
|PySequenceHolder (python::object seq)|
|unsigned int||size () const|
|Returns the size of the contained sequence. More...|
|T||operator (unsigned int which) const|
|Returns an element of the sequence. More...|
Class to hold sequences (lists, tuples, arrays, etc.) passed from Python -> C++.
PySequenceHolder is templated on the type of the contained object.
The class is lazy: elements are not evaluated until requested within the C++ code.
Returns an element of the sequence.
T, we raise a