Blender V4.3
BPy_UnaryPredicate1D.cpp File Reference

Go to the source code of this file.

Functions

int UnaryPredicate1D_Init (PyObject *module)
 
 PyDoc_STRVAR (UnaryPredicate1D___doc__, "Base class for unary predicates that work on :class:`Interface1D`. A\n" "UnaryPredicate1D is a functor that evaluates a condition on a\n" "Interface1D and returns true or false depending on whether this\n" "condition is satisfied or not. The UnaryPredicate1D is used by\n" "invoking its __call__() method. Any inherited class must overload the\n" "__call__() method.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n" "\n" ".. method:: __call__(inter)\n" "\n" " Must be overload by inherited classes.\n" "\n" " :arg inter: The Interface1D on which we wish to evaluate the predicate.\n" " :type inter: :class:`Interface1D`\n" " :return: True if the condition is satisfied, false otherwise.\n" " :rtype: bool\n")
 
static int UnaryPredicate1D___init__ (BPy_UnaryPredicate1D *self, PyObject *args, PyObject *kwds)
 
static void UnaryPredicate1D___dealloc__ (BPy_UnaryPredicate1D *self)
 
static PyObject * UnaryPredicate1D___repr__ (BPy_UnaryPredicate1D *self)
 
static PyObject * UnaryPredicate1D___call__ (BPy_UnaryPredicate1D *self, PyObject *args, PyObject *kwds)
 
 PyDoc_STRVAR (UnaryPredicate1D_name_doc, "The name of the unary 1D predicate.\n" "\n" ":type: str")
 
static PyObject * UnaryPredicate1D_name_get (BPy_UnaryPredicate1D *self, void *)
 

Variables

static PyGetSetDef BPy_UnaryPredicate1D_getseters []
 
PyTypeObject UnaryPredicate1D_Type
 

Function Documentation

◆ PyDoc_STRVAR() [1/2]

PyDoc_STRVAR ( UnaryPredicate1D___doc__ ,
"Base class for unary predicates that work on :class:`Interface1D`. A\n" "UnaryPredicate1D is a functor that evaluates a condition on a\n" "Interface1D and returns true or false depending on whether this\n" "condition is satisfied or not. The UnaryPredicate1D is used by\n" "invoking its __call__() method. Any inherited class must overload the\n" "__call__() method.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n" "\n" ".. method:: __call__(inter)\n" "\n" " Must be overload by inherited classes.\n" "\n" " :arg inter: The Interface1D on which we wish to evaluate the predicate.\n" " :type inter: :class:`Interface1D`\n" " :return: True if the condition is satisfied,
false otherwise.\n" " :rtype:bool\n"  )

◆ PyDoc_STRVAR() [2/2]

PyDoc_STRVAR ( UnaryPredicate1D_name_doc ,
"The name of the unary 1D predicate.\n" "\n" ":type: str"  )

◆ UnaryPredicate1D___call__()

static PyObject * UnaryPredicate1D___call__ ( BPy_UnaryPredicate1D * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 149 of file BPy_UnaryPredicate1D.cpp.

References Interface1D_Type, PyBool_from_bool(), and self.

◆ UnaryPredicate1D___dealloc__()

static void UnaryPredicate1D___dealloc__ ( BPy_UnaryPredicate1D * self)
static

Definition at line 138 of file BPy_UnaryPredicate1D.cpp.

References self.

◆ UnaryPredicate1D___init__()

static int UnaryPredicate1D___init__ ( BPy_UnaryPredicate1D * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 126 of file BPy_UnaryPredicate1D.cpp.

References self.

◆ UnaryPredicate1D___repr__()

static PyObject * UnaryPredicate1D___repr__ ( BPy_UnaryPredicate1D * self)
static

Definition at line 144 of file BPy_UnaryPredicate1D.cpp.

References self.

◆ UnaryPredicate1D_Init()

◆ UnaryPredicate1D_name_get()

static PyObject * UnaryPredicate1D_name_get ( BPy_UnaryPredicate1D * self,
void *  )
static

Definition at line 191 of file BPy_UnaryPredicate1D.cpp.

References self.

Variable Documentation

◆ BPy_UnaryPredicate1D_getseters

PyGetSetDef BPy_UnaryPredicate1D_getseters[]
static
Initial value:
= {
{"name",
(setter) nullptr,
UnaryPredicate1D_name_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * UnaryPredicate1D_name_get(BPy_UnaryPredicate1D *self, void *)

Definition at line 196 of file BPy_UnaryPredicate1D.cpp.

◆ UnaryPredicate1D_Type