Differential D9170 Diff 29818 source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp
| Show All 32 Lines | |||||
| PyDoc_STRVAR(Interface0DIterator_doc, | PyDoc_STRVAR(Interface0DIterator_doc, | ||||
| "Class hierarchy: :class:`Iterator` > :class:`Interface0DIterator`\n" | "Class hierarchy: :class:`Iterator` > :class:`Interface0DIterator`\n" | ||||
| "\n" | "\n" | ||||
| "Class defining an iterator over Interface0D elements. An instance of\n" | "Class defining an iterator over Interface0D elements. An instance of\n" | ||||
| "this iterator is always obtained from a 1D element.\n" | "this iterator is always obtained from a 1D element.\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: __init__(brother)\n" | ".. method:: __init__(brother)\n" | ||||
| " __init__(it)\n" | |||||
| "\n" | "\n" | ||||
| " Copy constructor.\n" | " Construct a nested Interface0DIterator using either the copy constructor\n" | ||||
| " or the constructor that takes an he argument of a Function0D.\n" | |||||
| "\n" | "\n" | ||||
| " :arg brother: An Interface0DIterator object.\n" | " :arg brother: An Interface0DIterator object.\n" | ||||
| " :type brother: :class:`Interface0DIterator`\n" | " :type brother: :class:`Interface0DIterator`\n" | ||||
| "\n" | |||||
| ".. method:: __init__(it)\n" | |||||
| "\n" | |||||
| " Construct a nested Interface0DIterator that can be the argument of\n" | |||||
| " a Function0D.\n" | |||||
| "\n" | |||||
| " :arg it: An iterator object to be nested.\n" | " :arg it: An iterator object to be nested.\n" | ||||
| " :type it: :class:`SVertexIterator`, :class:`CurvePointIterator`, or\n" | " :type it: :class:`SVertexIterator`, :class:`CurvePointIterator`, or\n" | ||||
| " :class:`StrokeVertexIterator`"); | " :class:`StrokeVertexIterator`"); | ||||
| static int convert_nested_it(PyObject *obj, void *v) | static int convert_nested_it(PyObject *obj, void *v) | ||||
| { | { | ||||
| if (!obj || !BPy_Iterator_Check(obj)) { | if (!obj || !BPy_Iterator_Check(obj)) { | ||||
| return 0; | return 0; | ||||
| ▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines | |||||