|
Blender V4.5
|
#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" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | UnaryPredicate0D_name_doc | , |
| "The name of the unary 0D predicate.\n" "\n" ":type: str" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 94 of file BPy_UnaryPredicate0D.cpp.
References Interface0DIterator_Type, PyBool_from_bool(), Freestyle::UnaryPredicate0D::result, UnaryPredicate0D___call__(), and BPy_UnaryPredicate0D::up0D.
Referenced by UnaryPredicate0D___call__().
|
static |
Definition at line 83 of file BPy_UnaryPredicate0D.cpp.
References UnaryPredicate0D___dealloc__(), and BPy_UnaryPredicate0D::up0D.
Referenced by UnaryPredicate0D___dealloc__().
|
static |
Definition at line 71 of file BPy_UnaryPredicate0D.cpp.
References Freestyle::UnaryPredicate0D::py_up0D, Freestyle::UnaryPredicate0D::UnaryPredicate0D(), UnaryPredicate0D___init__(), and BPy_UnaryPredicate0D::up0D.
Referenced by UnaryPredicate0D___init__().
|
static |
Definition at line 89 of file BPy_UnaryPredicate0D.cpp.
References UnaryPredicate0D___repr__(), and BPy_UnaryPredicate0D::up0D.
Referenced by UnaryPredicate0D___repr__().
| int UnaryPredicate0D_Init | ( | PyObject * | module | ) |
Definition at line 21 of file BPy_UnaryPredicate0D.cpp.
References FalseUP0D_Type, TrueUP0D_Type, UnaryPredicate0D_Init(), and UnaryPredicate0D_Type.
Referenced by Freestyle_Init(), and UnaryPredicate0D_Init().
|
static |
Definition at line 137 of file BPy_UnaryPredicate0D.cpp.
References UnaryPredicate0D_name_get().
Referenced by UnaryPredicate0D_name_get().
|
static |
Definition at line 142 of file BPy_UnaryPredicate0D.cpp.
| PyTypeObject UnaryPredicate0D_Type |
Definition at line 153 of file BPy_UnaryPredicate0D.cpp.
Referenced by Operators_recursive_split(), Operators_sequential_split(), and UnaryPredicate0D_Init().