|
Blender V4.3
|
#include "BPy_UnaryPredicate0D.h"#include "BPy_Convert.h"#include "Iterator/BPy_Interface0DIterator.h"#include "UnaryPredicate0D/BPy_FalseUP0D.h"#include "UnaryPredicate0D/BPy_TrueUP0D.h"Go to the source code of this file.
Functions | |
| int | UnaryPredicate0D_Init (PyObject *module) |
| PyDoc_STRVAR (UnaryPredicate0D___doc__, "Base class for unary predicates that work on\n" ":class:`Interface0DIterator`. A UnaryPredicate0D is a functor that\n" "evaluates a condition on an Interface0DIterator and returns true or\n" "false depending on whether this condition is satisfied or not. The\n" "UnaryPredicate0D is used by invoking its __call__() method. Any\n" "inherited class must overload the __call__() method.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n" "\n" ".. method:: __call__(it)\n" "\n" " Must be overload by inherited classes.\n" "\n" " :arg it: The Interface0DIterator pointing onto the Interface0D at\n" " which we wish to evaluate the predicate.\n" " :type it: :class:`Interface0DIterator`\n" " :return: True if the condition is satisfied, false otherwise.\n" " :rtype: bool\n") | |
| static int | UnaryPredicate0D___init__ (BPy_UnaryPredicate0D *self, PyObject *args, PyObject *kwds) |
| static void | UnaryPredicate0D___dealloc__ (BPy_UnaryPredicate0D *self) |
| static PyObject * | UnaryPredicate0D___repr__ (BPy_UnaryPredicate0D *self) |
| static PyObject * | UnaryPredicate0D___call__ (BPy_UnaryPredicate0D *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (UnaryPredicate0D_name_doc, "The name of the unary 0D predicate.\n" "\n" ":type: str") | |
| static PyObject * | UnaryPredicate0D_name_get (BPy_UnaryPredicate0D *self, void *) |
Variables | |
| static PyGetSetDef | BPy_UnaryPredicate0D_getseters [] |
| PyTypeObject | UnaryPredicate0D_Type |
| PyDoc_STRVAR | ( | UnaryPredicate0D___doc__ | , |
| "Base class for unary predicates that work on\n" ":class:`Interface0DIterator`. A UnaryPredicate0D is a functor that\n" "evaluates a condition on an Interface0DIterator and returns true or\n" "false depending on whether this condition is satisfied or not. The\n" "UnaryPredicate0D is used by invoking its __call__() method. Any\n" "inherited class must overload the __call__() method.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n" "\n" ".. method:: __call__(it)\n" "\n" " Must be overload by inherited classes.\n" "\n" " :arg it: The Interface0DIterator pointing onto the Interface0D at\n" " which we wish to evaluate the predicate.\n" " :type it: :class:`Interface0DIterator`\n" " :return: True if the condition is | satisfied, | ||
| false otherwise.\n" " :rtype:bool\n" | ) |
| PyDoc_STRVAR | ( | UnaryPredicate0D_name_doc | , |
| "The name of the unary 0D predicate.\n" "\n" ":type: str" | ) |
|
static |
Definition at line 98 of file BPy_UnaryPredicate0D.cpp.
References Interface0DIterator_Type, PyBool_from_bool(), and self.
|
static |
Definition at line 87 of file BPy_UnaryPredicate0D.cpp.
References self.
|
static |
Definition at line 75 of file BPy_UnaryPredicate0D.cpp.
References self.
|
static |
Definition at line 93 of file BPy_UnaryPredicate0D.cpp.
References self.
| int UnaryPredicate0D_Init | ( | PyObject * | module | ) |
Definition at line 25 of file BPy_UnaryPredicate0D.cpp.
References FalseUP0D_Type, module, TrueUP0D_Type, and UnaryPredicate0D_Type.
Referenced by Freestyle_Init().
|
static |
Definition at line 141 of file BPy_UnaryPredicate0D.cpp.
References self.
|
static |
Definition at line 146 of file BPy_UnaryPredicate0D.cpp.
| PyTypeObject UnaryPredicate0D_Type |
Definition at line 157 of file BPy_UnaryPredicate0D.cpp.
Referenced by Operators_recursive_split(), Operators_sequential_split(), and UnaryPredicate0D_Init().